correctSmallMetricDistance MethodStatic

Correct distance to zero if smaller than metric tolerance. Otherwise return it unchanged.

correctSmallMetricDistance(distance: number, replacement: number = 0): number

Parameter Type Description
distance number  
replacement number  

Returns - number

Defined in

Last Updated: 13 June, 2024