Trait lyon_geom::traits::FlattenedForEach [−][src]
pub trait FlattenedForEach: Segment { fn for_each_flattened<F: FnMut(Point<Self::Scalar>)>(
&self,
tolerance: Self::Scalar,
call_back: &mut F
); }
Types that implement call-back based iteration
Required Methods
fn for_each_flattened<F: FnMut(Point<Self::Scalar>)>(
&self,
tolerance: Self::Scalar,
call_back: &mut F
)
&self,
tolerance: Self::Scalar,
call_back: &mut F
)
Iterates through the curve invoking a callback at each point.
Implementors
impl<T> FlattenedForEach for T where
T: FlatteningStep,impl<S: Scalar> FlattenedForEach for CubicBezierSegment<S>