Enum ncollide_geometry::query::TrianglePointLocation [] [src]

pub enum TrianglePointLocation<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: Real> TrianglePointLocation<N>
[src]

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<N> Send for TrianglePointLocation<N>

impl<N> Sync for TrianglePointLocation<N>