Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

circle_from_3pts

Function circle_from_3pts 

Source
pub fn circle_from_3pts(
    p1: (f64, f64),
    p2: (f64, f64),
    p3: (f64, f64),
) -> Option<((f64, f64), f64, bool)>
Expand description

Compute circumcircle ((cx, cy), radius, ccw) from 3 points in +Y-up nm.