API Reference > geometry-core > CartesianGeometry > RangeBase RangeBase Class Base class for Range1d, Range2d, Range3d. Extended by Range3d Range1d Range2d Methods Name Description constructor(): RangeBase coordinateToRangeAbsoluteDistance(x: number, low: number, high: number): number Static Given a coordinate and pair of range limits, return the smallest distance to the range. isExtremePoint2d(xy: Point2d): boolean Static Return true if either of x,y is outside the range `[_EXTREME_NEGATIVE, _EXTREME_POSITIVE]' isExtremePoint3d(xyz: Point3d): boolean Static Return true if any x or y or z is outside the range `[_EXTREME_NEGATIVE, _EXTREME_POSITIVE]' isExtremeValue(x: number): boolean Static Return true if x is outside the range `[_EXTREME_NEGATIVE, _EXTREME_POSITIVE]' npcScaleFactor(low: number, high: number): number ProtectedStatic Return 0 if high<= low, otherwise 1/(high-low) for use in fractionalizing rangeToRangeAbsoluteDistance(lowA: number, highA: number, lowB: number, highB: number): number Static Return the min absolute distance from any point of [lowA,highA]' to any point of [lowB,highB]'. Properties Name Type Description _EXTREME_NEGATIVE ProtectedStaticReadonly number Number considered to be impossibly negative for a coordinate in a range. _EXTREME_POSITIVE ProtectedStaticReadonly number Number considered impossibly large possibly for a coordinate in a range. Defined in geometry3d/Range.ts Line 25 Last Updated: 11 June, 2024