Function heron::rapier_plugin::rapier2d::parry::transformation::utils::push_arc
source · pub fn push_arc(
center: OPoint<f32, Const<2>>,
start: OPoint<f32, Const<2>>,
end: OPoint<f32, Const<2>>,
nsubdivs: u32,
out: &mut Vec<OPoint<f32, Const<2>>, Global>
)
Expand description
Pushes to out
a set of points forming an arc starting at start
, ending at end
with
revolution center at center
. The curve is approximated by pushing nsubdivs
points.
The start
and end
point are not pushed to out
.