Enum ncollide::query::TrianglePointLocation [] [src]

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

Logical 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> TrianglePointLocation<N> where
    N: Real, 
[src]

[src]

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

Trait Implementations

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

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

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

[src]