Sort Fuzzy Points
00000000-ac8a-4af9-9555-4ca20c66af00
Points inputpoint3 · list · requiredPointlist to sort.Plane inputplane · item · requiredSorting coordinate system.Fuzz inputnumber · item · requiredFuzzyness in the plane X direction. Points whose x-coordinates differ less than the fuzz are considered part of a single column.Points outputpoint3 · treeTree with sorted point columns.Width outputnumber · treeDifference in x-coordinate between the left-most and right-most point in each sorted column.Sort points into a collection of columns whose x-coordinates are similar within tolerance. This is most commonly used to reverse-engineer an orthogonal grid of points from a flat, unordered list.
The sorting happens in three stages. First, all points are projected onto the sorting plane to yield the coordinates in the plane on which the sorting occurs. Then, all those points whose coordinates are closer together than the fuzz input number are considered to be part of the same column of points. Finally, the points within each column are sorted using their projected coordinates.
