opensubdiv_rs/vtr/mod.rs
1//! **Vtr** — Vectorized Topology Representation.
2//!
3//! Port of OpenSubdiv's `opensubdiv/vtr` layer: an efficient intermediate
4//! topological representation intended for internal use by the [`crate::far`]
5//! layer.
6//!
7//! * [`Level`] — the complete topology of a mesh at one refinement level,
8//! stored as flat "CSR"-style index arrays (the *relations* between
9//! vertices, edges and faces), plus per-component sharpness and tags.
10//! * [`Refinement`] — the mapping from a parent [`Level`] to the child
11//! [`Level`] produced by one step of uniform refinement.
12
13mod level;
14mod refinement;
15
16pub use level::{Level, TopologyError};
17pub use refinement::Refinement;