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: Readonly<WritableXAndY>, b: Readonly<WritableXAndY>): "-1" | "0" | "1"

Parameter Type Description
a Readonly<WritableXAndY>  
b Readonly<WritableXAndY>  

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

Defined in

Last Updated: 30 July, 2025