Function rin::graphics::bezier_iter [−][src]
pub fn bezier_iter<Point>(
from: Point,
cp1: Point,
cp2: Point,
to: Point,
resolution: u32
) -> BezierIter<Point>ⓘwhereNotable traits for BezierIter<Point>
impl<Point> Iterator for BezierIter<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField,
<Point as NumPnt>::Field: NumCast,
<Point as NumPnt>::Coordinates: Neg,
<Point as NumPnt>::Coordinates: Copy,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates, type Item = Point;
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField,
<Point as NumPnt>::Field: NumCast,
<Point as NumPnt>::Field: Copy,
<Point as NumPnt>::Coordinates: Neg,
<Point as NumPnt>::Coordinates: Copy,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates,
Returns a bezier iterator with the passed parameter
The iterator can be used for eaxmple on a loop to go through all the vertices of the bezier