Geogram  Version 1.9.1
A programming library of geometric algorithms
mesh_subdivision.h File Reference

Go to the source code of this file.

Classes

class  GEO::MeshSplitCallbacks
 A set of callbacks that specify how vertices attributes should be interpolated by subdivision functions. More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 

Functions

void GEO::mesh_split_triangles (Mesh &M, index_t facets_begin=0, index_t facets_end=index_t(-1), MeshSplitCallbacks *cb=nullptr)
 Splits each triangle of a surface mesh into four. More...
 
void GEO::mesh_split_quads (Mesh &M, index_t facets_begin=0, index_t facets_end=index_t(-1), MeshSplitCallbacks *cb=nullptr)
 Splits each facet of a surface mesh into quads. More...
 
void GEO::mesh_split_catmull_clark (Mesh &M, MeshSplitCallbacks *cb=nullptr)
 Splits a mesh using Catmull-Clark subdivision rule. More...
 
void GEO::mesh_triangulate_center_vertex (Mesh &M, index_t facets_begin=0, index_t facets_end=index_t(-1), MeshSplitCallbacks *cb=nullptr)
 Splits each n-sided facet of a surface into n triangles by inserting a vertex in the center. More...