split3WaySign MethodStatic
Examine the sign of x
.
- If
x
is negative, returnoutNegative
- If
x
is true zero, returnoutZero
- If
x
is positive, returnoutPositive
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 645
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.