Expand description
Mesh representations and zero-copy interoperability views.
N-gons remain PolygonMesh until explicit triangulation. TriMesh is
the compact exchange type for render, spatial, and mesh-kernel algorithms.
Re-exports§
pub use adjacency::EdgeAdjacency;pub use adjacency::EdgeKey;pub use adjacency::EdgeUse;pub use attribute::AttributeChannel;pub use attribute::AttributeFate;pub use attribute::Blend;pub use attribute::DropReason;pub use audit::audit_mesh;pub use audit::audit_mesh_scratch_bytes;pub use audit::try_audit_mesh;pub use audit::MeshAuditError;pub use audit::MeshHealth;pub use component::component_count;pub use component::compose;pub use component::decompose;pub use error::MeshValidationError;pub use polygon::PolygonFace;pub use polygon::PolygonMesh;pub use triangle::NormalAttribute;pub use triangle::TriMesh;pub use view::MeshView;pub use view::TriangleMeshView;
Modules§
- adjacency
- Edge adjacency derived once, so algorithms stop rebuilding it.
- attribute
- Named per-vertex data carried alongside positions.
- audit
- Deterministic structural triangle-mesh audit.
- component
- Splitting a mesh into connected components, and recombining them (#85).
- error
- Structured mesh validation failures.
- polygon
- Polygonal face mesh that preserves n-gons and inner voids before triangulation.
- triangle
- Indexed triangle mesh representation.
- view
- Borrowed mesh interoperability seam.