Skip to main content

Module mesh

Module mesh 

Source
Expand description

Indexed triangle meshes: construction, mass properties, cleanup, spatial queries, and OBJ/STL interchange.

Modules§

analyze
Mesh analysis: topology (manifoldness, orientation, boundary, components, genus), quality statistics, QEM decimation, discrete curvatures, and geodesic distances.
generate
Procedural mesh generators. Closed shapes are watertight (shared seam vertices, no duplicates) with outward-facing counterclockwise winding.
isosurface
Isosurface and isocontour extraction from sampled scalar fields: marching squares/cubes/tetrahedra, surface nets, dual contouring, and metaballs.
parameterize
Mesh parameterization: closed-form spherical/planar/cylindrical projections, harmonic (cotangent-Laplace) disk parameterization with fixed boundaries, least-squares conformal maps (Lévy, Petitjean, Ray & Maillot 2002), and per-triangle conformal and area distortion measures.
subdivide
Subdivision surfaces (Loop, Catmull-Clark, sqrt(3), midpoint) and Laplacian-family smoothing.
surfaces
Parametric surfaces: Bézier/B-spline/NURBS patches, classic surface constructions, differential geometry via fundamental forms, and a catalogue of named surfaces.

Structs§

Mesh
Indexed triangle mesh with optional per-vertex normals and UVs.