Skip to main content

circumcircle

Function circumcircle 

Source
pub fn circumcircle(
    a: [f64; 2],
    b: [f64; 2],
    c: [f64; 2],
) -> Option<([f64; 2], f64)>
Expand description

The centre and radius of the circle through three points; None when they are collinear within COLLINEAR_SINE, two of them coincide, or the circle is wider than MAX_RADIUS.