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

effective_pcb_arc_geometry

Function effective_pcb_arc_geometry 

Source
pub fn effective_pcb_arc_geometry(
    points: [PcbPoint; 3],
) -> Result<((i64, i64), (i64, i64), (i64, i64), (i64, i64), f64, f64, f64), Error>
Expand description

Return (start IU, mid IU, end IU, centre IU, radius IU, start degrees, sweep degrees) in Source right/down coordinates. Full circles return 360; zero radius stays explicit. Nonfinite input or an undefined centre refuses.