inverseMetricDistanceSquared MethodStatic
Return the inverse of distanceSquared
, checking for safe division.
inverseMetricDistanceSquared(distanceSquared: number): undefined | number
@returns 1/distanceSquared
if the absolute value of distanceSquared
exceeds smallMetricDistanceSquared;
otherwise returns undefined
.
Parameter | Type | Description |
---|---|---|
distanceSquared | number |
Returns - undefined | number
1/distanceSquared
if the absolute value of distanceSquared
exceeds smallMetricDistanceSquared;
otherwise returns undefined
.
Defined in
- Geometry.ts Line 344
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.