pyrucast 0.2.0

Finite-element library in Rust, inspired by cast3m, exposed to Python
Documentation
//! Internal machinery of the tetrahedral mesher `triangulate_volume`.
//!
//! The operator itself reads the envelope, validates it and materializes the
//! result; everything between those two ends lives here, on plain index and
//! coordinate arrays with no knowledge of the container layer.
//!
//! - [`predicates`] — exact `orient3d` / `insphere`, the foundation every
//!   other decision rests on. It is shared with the surface meshers and so
//!   lives one level up, re-exported here under its historical path.
//! - [`fill`] — exhaustive rebuild of a small region from its own vertices,
//!   the complete answer where a flip pattern is only a guess.
//! - [`refine`] — putting nodes inside the solid, which is what turns a
//!   valid tetrahedralization into a usable mesh.
//! - [`smooth`] — the sliver pass: reconnect and relax until the worst
//!   dihedral angle stops improving.
//! - [`simplify`] — putting a subdivision point back out of the mesh, so the
//!   envelope can be handed back as it came in.
//! - [`surface`] — re-cutting a flat strip of the outer surface, for the
//!   envelope edges that run inside a flat face of the solid.
//! - [`recovery`] — putting the envelope's edges and facets back into the
//!   triangulation.
//! - [`classify`] — flooding from both sides of the recovered surface to
//!   separate material from void.
//! - [`flips`] — the 2-3 / 3-2 reconnections used to walk the envelope back
//!   into the triangulation.
//! - [`envelope`] — reading and validating the closed input surface.
//! - [`delaunay`] — the incremental Delaunay kernel and its tetrahedron
//!   adjacency structure.
//! - [`intersect`] — exact triangle-triangle intersection, used to reject a
//!   self-intersecting envelope before it can confuse the kernel.

pub mod classify;
pub mod delaunay;
pub mod envelope;
pub mod fill;
pub mod flips;
pub mod intersect;
pub use super::predicates;

pub mod recovery;
pub mod refine;
pub mod simplify;
pub mod smooth;
pub mod surface;