incirclefast

Function incirclefast 

Source
pub fn incirclefast(
    ax: f64,
    ay: f64,
    bx: f64,
    by: f64,
    cx: f64,
    cy: f64,
    dx: f64,
    dy: f64,
) -> f64
Expand description

An in-circle test fast test, lacks the same accuracy as incircle

§Parameters

  • ax: x coordinate of first point
  • ay: y coordinate of first point
  • bx: x coordinate of second point
  • by: y coordinate of second point
  • cx: x coordinate of third point
  • cy: y coordinate of third point
  • dx: x coordinate of comparison point
  • dy: y coordinate of comparison point

§Returns

point d is in circle if the return value is less than 0, otherwise not in circle