conditionalDivideCoordinate MethodStatic
Return numerator
divided by denominator
(with a given largestResult
).
conditionalDivideCoordinate(numerator: number, denominator: number, largestResult: numberGeometry.largeCoordinateResult): undefined | number
@returns return numerator/denominator
but if the ratio exceeds largestResult
, return undefined
.
Parameter | Type | Description |
---|---|---|
numerator | number | the numerator |
denominator | number | the denominator |
largestResult | number | the ratio threshold, defaults to largeCoordinateResult |
Returns - undefined | number
return numerator/denominator
but if the ratio exceeds largestResult
, return undefined
.
Defined in
- Geometry.ts Line 1027
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.