Enum ncollide_procedural::path::PathSample [] [src]

pub enum PathSample<P: Point> {
    StartPoint(P, P::Vect),
    InnerPoint(P, P::Vect),
    EndPoint(P, P::Vect),
    EndOfSample,
}

A sample point and its associated tangent.

Variants

StartPoint(P, P::Vect)

A point that starts a new path.

InnerPoint(P, P::Vect)

A point that is inside of the path currently generated.

EndPoint(P, P::Vect)

A point that ends the path currently generated.

EndOfSample

Used when the sampler does not have any other points to generate.