lexicalYXLessThan MethodStatic
Lexical comparison of (a.x, a.y) and (b.x, b.y) with y as first test and x as second (z is ignored).
- This is appropriate for a vertical sweep in the plane.
lexicalYXLessThan(a: XY | XYZ, b: XY | XYZ): "0" | "1" | "-1"
Parameter | Type | Description |
---|---|---|
a | XY | XYZ | |
b | XY | XYZ |
Returns - "0" | "1" | "-1"
Defined in
- Geometry.ts Line 463
Last Updated: 17 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.