Expand description
Tessellation. Discretize edges to a deflection tolerance, then build a constrained Delaunay triangulation in each face’s (u,v) parametric domain, refine it, and attach the result to the face.
Elsewhere: BRepMesh and the Poly triangulation types.
Uses spade for CDT and refinement rather than ear-clipping: ear-clipping offers
no quality guarantees and cannot insert Steiner points, which curved surfaces
need.
Re-exports§
pub use attach::Tessellated;pub use attach::polyline_of;pub use attach::tessellate;pub use attach::triangulation_of;pub use discretize::Deflection;pub use discretize::Polyline;pub use discretize::discretize;pub use discretize::discretize_on_surface;pub use discretize::discretize_planar;pub use discretize::is_straight;pub use discretize::is_straight_planar;pub use hatch::hatch_face;pub use simplify::Simplified;pub use simplify::Target;pub use simplify::simplify;pub use triangulate::EdgeChords;pub use triangulate::edge_chords_for;pub use triangulate::face_boundary;pub use triangulate::inside_boundary;pub use triangulate::inside_boundary_with;pub use triangulate::polyline_of_edge;pub use triangulate::triangulate;pub use triangulate::triangulate_face;pub use triangulate::triangulate_face_with;
Modules§
- attach
- Storing a tessellation back onto the model.
- discretize
- Turning a curve into a polyline within a stated deflection.
- hatch
- Hatching in parametric space: parallel lines clipped to a face’s trim.
- simplify
- Decimating a triangulation.
- triangulate
- Triangulating a face.