Skip to content

point3CompareLexicographic

point3CompareLexicographic(pA, pB): ComparatorResult

Defined in: point3.ts:88

Arbitrary but deterministic total order on points, by x, then y, then z.

Not a geometric ordering — no such thing exists in space. It is the canonical order hull and triangulation algorithms sort by, and the way to put points in an ordered container. Exact, so it agrees with point3Equals.

Point3

Point3

ComparatorResult