GitHub link
PMP
The Polygon Mesh Processing Library
SurfaceSubdivision Class Reference

A class providing surface subdivision algorithms.

#include <pmp/algorithms/SurfaceSubdivision.h>

Public Member Functions

 SurfaceSubdivision (SurfaceMesh &mesh)
 Construct with mesh to be subdivided.
 
void catmull_clark ()
 Perform one step of Catmull-Clark subdivision. More...
 
void loop ()
 Perform one step of Loop subdivision. More...
 
void sqrt3 ()
 Perform one step of sqrt3 subdivision. More...
 

Member Function Documentation

◆ catmull_clark()

void catmull_clark ( )

See [4] for details.

◆ loop()

void loop ( )

See [15] for details.

Precondition
Requires a pure triangle mesh as input.
Exceptions
InvalidInputExceptionin case the input violates the precondition.

◆ sqrt3()

void sqrt3 ( )

See [13] for details.

Precondition
Requires a pure triangle mesh as input.
Exceptions
InvalidInputExceptionin case the input violates the precondition.