rangeToRangeAbsoluteDistance MethodStatic
Return the min absolute distance from any point of [lowA,highA]' to any point of
[lowB,highB]'.
- Both low,high pairs have order expectations: The condition
high < low
means null interval. - If there is interval overlap, the distance is zero.
rangeToRangeAbsoluteDistance(lowA: number, highA: number, lowB: number, highB: number): number
Parameter | Type | Description |
---|---|---|
lowA | number | low of interval A |
highA | number | high of interval A |
lowB | number | low of interval B |
highB | number | high of interval B |
Returns - number
Defined in
- geometry3d/Range.ts Line 56
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.