lexicalXYLessThan MethodStatic

Lexical comparison of (a.x, a.y) and (b.x, b.y) with x as first test and y as second (z is ignored).

  • This is appropriate for a horizontal sweep in the plane.

lexicalXYLessThan(a: XAndY, b: XAndY): "-1" | "0" | "1"

Parameter Type Description
a XAndY  
b XAndY  

Returns - "-1" | "0" | "1"

Defined in

Last Updated: 28 April, 2026