API Reference > Geometry-core > CartesianGeometry > Geometry > correctSmallMetricDistance 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 core/geometry/src/Geometry.ts Line 209 Last Updated: 13 June, 2024