Struct hedge::Edge [] [src]

pub struct Edge {
    pub twin_index: EdgeIndex,
    pub next_index: EdgeIndex,
    pub prev_index: EdgeIndex,
    pub face_index: FaceIndex,
    pub vertex_index: VertexIndex,
}

The principle component in a half-edge mesh.

Fields

The adjacent or 'twin' half-edge

The index of the next edge in the loop

The index of the previous edge in the loop

The index of the face this edge loop defines

The index of the Vertex for this edge.

Trait Implementations

impl Default for Edge
[src]

Returns the "default value" for a type. Read more

impl Debug for Edge
[src]

Formats the value using the given formatter.

impl Validation for Edge
[src]

An edge is generally considered "valid" as long as it has a vertex and a face index other than INVALID_COMPONENT_INDEX