lexicalYXLessThan MethodStatic

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

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

lexicalYXLessThan(a: XYZ | XY, b: XYZ | XY): | "1" | "-1"

Parameter Type Description
a XYZ | XY  
b XYZ | XY  

Returns - | "1" | "-1"

Defined in

Last Updated: 11 June, 2024