split3WaySign MethodStatic
Examine the value (particularly sign) of x.
- If x is negative, return outNegative.
- If x is true zero, return outZero
- If x is positive, return outPositive
split3WaySign(x: number, outNegative: number, outZero: number, outPositive: number): number
Parameter | Type | Description |
---|---|---|
x | number | |
outNegative | number | |
outZero | number | |
outPositive | number |
Returns - number
Defined in
- Geometry.ts Line 464
Last Updated: 20 June, 2023