Crate tri_mesh

source ·
Expand description

This crate contains a Mesh struct which represents a triangle mesh. It is implemented using a half-edge data structure which is efficient for creating, editing, traversing and computing on that mesh. Also, the mesh can easily be created from and exported into a format that is efficient for visualization. Finally, operations on the mesh is implemented as methods on the Mesh struct, so take a look at that rather long list of methods for a complete overview.

Re-exports§

  • pub use crate::math::*;

Modules§

  • Linear algebra types for vector calculations. Basically re-export the cgmath library.

Structs§

Enums§

  • Error when performing a mesh operation
  • An enum describing the types of intersections.
  • An enum describing the types of primitives.

Traits§

  • A unique ID.

Type Aliases§