Enum ncollide2d::shape::TrianglePointLocation[][src]

pub enum TrianglePointLocation<N: Real> {
    OnVertex(usize),
    OnEdge(usize[N; 2]),
    OnFace([N; 3]),
    OnSolid,
}

Description of the location of a point on a triangle.

Variants

The point lies on a vertex.

The point lies on an edge.

The point lies on the triangle interior.

The point lies on the triangle interior (for "solid" point queries).

Methods

impl<N: Real> TrianglePointLocation<N>
[src]

Returns true if the point is located on the relative interior of the triangle.

Trait Implementations

impl<N: Copy + Real> Copy for TrianglePointLocation<N>
[src]

impl<N: Clone + Real> Clone for TrianglePointLocation<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Debug + Real> Debug for TrianglePointLocation<N>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations