Enum ncollide3d::shape::FeatureId[][src]

pub enum FeatureId {
    Vertex(usize),
    Edge(usize),
    Face(usize),
    Unknown,
}

An identifier of a feature of a convex polyhedron.

This identifier is shape-dependent and is seach that it allows an efficient retrieval of the geometric information of the feature.

Variants

Shape-dependent identifier of a vertex.

Shape-dependent identifier of an edge.

Shape-dependent identifier of a face.

Unknown identifier.

Methods

impl FeatureId
[src]

Revries the value of the identifier if self is a vertex.

Revries the value of the identifier if self is an edge.

Revries the value of the identifier if self is a face.

Trait Implementations

impl Copy for FeatureId
[src]

impl Clone for FeatureId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FeatureId
[src]

Formats the value using the given formatter. Read more

impl Hash for FeatureId
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for FeatureId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FeatureId
[src]

Auto Trait Implementations

impl Send for FeatureId

impl Sync for FeatureId