Crate hedge

Source
Expand description

An index based half-edge mesh implementation.

Re-exports§

pub use crate::kernel::*;
pub use crate::function_sets::*;
pub use crate::iterators::*;

Modules§

function_sets
Facades over a mesh and component index to enable fluent adjcency traversals.
iterators
Iterators for simple or common mesh traversal patterns.
kernel
utils

Structs§

EdgeData
TODO: Documentation
FaceData
TODO: Documentation
Index
Type-safe index into kernel storage.
Mesh
MeshElement
Trait for accessing Mesh element properties.
PointData
VertexData
TODO: Documentation

Enums§

ElementStatus
Whether or not a cell is current or ‘removed’

Constants§

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

Traits§

AddElement
Interface for adding elements to a Mesh.
ElementData
Marker trait for structs holding element specific data
ElementIndex
Marker trait for Index types
GetElement
Interface for getting an element reference.
IsActive
IsValid
An interface for asserting the validity of components and indices of the mesh.
RemoveElement
Interface for removing elements to a Mesh.
Storable
Taggable

Type Aliases§

Edge
EdgeIndex
Face
FaceIndex
Generation
Normal
Offset
Point
PointIndex
Position
Tag
Vertex
VertexIndex