restrictToInterval Method
- compress out values not within the [a,b] interval.
- Note that if a is greater than b all values are rejected.
restrictToInterval(a: number, b: number): void
Parameter | Type | Description |
---|---|---|
a | number | low value for accepted interval |
b | number | high value for accepted interval |
Returns - void
Defined in
- geometry3d/GrowableFloat64Array.ts Line 258
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.