API Reference > geometry-core > CartesianGeometry > RangeBase > coordinateToRangeAbsoluteDistance coordinateToRangeAbsoluteDistance MethodStatic Given a coordinate and pair of range limits, return the smallest distance to the range. This is zero for any point inside the range This is _EXTREME_POSITIVE if the range limits are inverted Otherwise (i.e. x is outside a finite range) the distance to the near endpoint. coordinateToRangeAbsoluteDistance(x: number, low: number, high: number): number Parameter Type Description x number low number high number Returns - number Defined in core/geometry/src/geometry3d/Range.ts Line 63 Last Updated: 13 June, 2024