multiplyIfPositive MethodStatic
If a > 0, return (extrapolationFactor * a); otherwise return defaultValue
multiplyIfPositive(q: number, factor: number, defaultValue: number0.0): number
Parameter | Type | Description |
---|---|---|
q | number | |
factor | number | multiplier for positive q values. |
defaultValue | number |
Returns - number
Defined in
- geometry3d/Range.ts Line 89
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.