Crate hedge [] [src]

An index based half-edge mesh implementation.

Structs

Edge

The principle component in a half-edge mesh.

EdgeFn

Function set for operations related to the Edge struct

EdgeLoop

An iterator that walks an edge loop around a face returning each EdgeIndex in the loop.

EdgeLoopVertices

An iterator that walks an edge loop around a face returning each VertexIndex in the loop.

Face

A face is defined by the looping connectivity of edges.

FaceFn

Function set for operations related to the Face struct

Faces

An iterator that returns the FaceIndex of every Face in the mesh.

Mesh

Implements the fundamental storage operations and represents the principle grouping of all components.

Vertex

Represents the point where two edges meet.

VertexFn

Function set for operations related to the Vertex struct

Constants

INVALID_COMPONENT_INDEX

Our default value for uninitialized or unconnected components in the mesh.

Traits

Validation

An interface for asserting the validity of components in the mesh.

Type Definitions

EdgeIndex

Type alias for indices into edge storage

FaceIndex

Type alias for indices into face storage

VertexAttributeIndex

Type alias for indices into vertex attribute storage

VertexIndex

Type alias for indices into vertex storage