Enum ncollide::query::point_internal::TetrahedronPointLocation [] [src]

pub enum TetrahedronPointLocation<N> where
    N: Real, 
{ OnVertex(usize), OnEdge(usize[N; 2]), OnFace(usize[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 a vertex.

The point lies on a triangular face interior.

The first face is the triangle ABC. The second face is the triangle ABD. The third face is the triangle ACD. The fourth face is the triangle BDC.

The point lies inside of the tetrahedron.

Methods

impl<N> TetrahedronPointLocation<N> where
    N: Real, 
[src]

[src]

Returns true if both self and other correspond to points on the same feature of a tetrahedron.

Trait Implementations

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

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

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

[src]