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: XY | XYZ, b: XY | XYZ): -1 | 0 | 1
Parameter | Type | Description |
---|---|---|
a | XY | XYZ | |
b | XY | XYZ |
Returns - -1 | 0 | 1
Defined in
- core/geometry/src/Geometry.ts Line 273
Last Updated: 13 June, 2024