API Reference > Geometry-core > CartesianGeometry > Geometry > correctSmallMetricDistance correctSmallMetricDistance MethodStatic Correct distance to zero if undefined or smaller than metric tolerance. Otherwise return it unchanged. correctSmallMetricDistance(distance: undefined | number, replacement: number = 0.0): number Parameter Type Description distance undefined | number replacement number Returns - number Defined in Geometry.ts Line 213 Last Updated: 11 June, 2024