orient2dadapt

Function orient2dadapt 

Source
pub fn orient2dadapt(
    ax: f64,
    ay: f64,
    bx: f64,
    by: f64,
    cx: f64,
    cy: f64,
    detsum: f64,
) -> f64
Expand description

a negative value if the points a, b, and c occur in counterclockwise order (c lies to the left of the directed line defined by points a and b).

ยงReturns

  • a positive value if they occur in clockwise order (c lies to the right of the directed line ab).
  • zero if they are collinear.