pub fn canonicalize_points(points: &mut [Vec3], relative_tolerance: f64)Expand description
Collapse points that are the same point to ONE value.
Trim polylines assembled from per-coedge evaluations name a shared vertex
twice — once from each side — and the two evaluations agree only to rounding.
SphericalRegion cancels a slit by matching a segment against its exact
reverse, which those two nearly-equal values would defeat, so a consumer that
did not read its points from one shared table runs them through here first.
The tolerance is relative to the point cloud’s own extent.