API Reference > Geometry-core > CartesianGeometry > Geometry > lexicalXYLessThan lexicalXYLessThan MethodStatic Lexical comparison of (a.x,a.y) (b.x,b.y) with x as first test, y second. This is appropriate for a horizontal sweep in the plane. lexicalXYLessThan(a: XYZ | XY, b: XYZ | XY): | "1" | "-1" Parameter Type Description a XYZ | XY b XYZ | XY Returns - | "1" | "-1" Defined in Geometry.ts Line 277 Last Updated: 12 June, 2024