conditionalDivideCoordinate MethodStatic
normally, return numerator/denominator. but if the ratio would exceed Geometry.largestResult, return undefined.
conditionalDivideCoordinate(numerator: number, denominator: number, largestResult: number = Geometry.largeCoordinateResult): undefined | number
Parameter | Type | Description |
---|---|---|
numerator | number | |
denominator | number | |
largestResult | number |
Returns - undefined | number
Defined in
- Geometry.ts Line 721
Last Updated: 20 June, 2023