Skip to main content

arc

Function arc 

Source
pub fn arc(
    at: Wheel,
    from: [f64; 2],
    to: [f64; 2],
    pieces: usize,
) -> Vec<[f64; 2]>
Expand description

Points on wheel at from the belt’s contact from round to its contact to, in the wheel’s sense (anticlockwise for a positive radius), pieces + 1 of them, both ends included. A clamp (radius 0) gives its centre.