Struct ncollide_procedural::path::PolylinePath
[−]
[src]
pub struct PolylinePath<'a, P: 'a + Point> { // some fields omitted }
A path with its sample points given by a polyline.
This will return sequencially each vertex of the polyline.
Methods
impl<'a, P: Point> PolylinePath<'a, P>
[src]
fn new(polyline: &'a Polyline<P>) -> PolylinePath<'a, P>
Creates a new polyline-based path.
Trait Implementations
impl<'a, P> CurveSampler<P> for PolylinePath<'a, P> where P: Point
[src]
fn next(&mut self) -> PathSample<P>
Returns the next sample point.