Class SurfaceSubdivision

Class Documentation

class SurfaceSubdivision

A class providing surface subdivision algorithms.

Public Functions

SurfaceSubdivision(SurfaceMesh &mesh)

Construct with mesh to be subdivided.

void catmull_clark()

Perform one step of Catmull-Clark subdivision.

See catmull_1978_recursively for details.

void loop()

Perform one step of Loop subdivision.

See loop_1987_smooth for details.

Throws:

InvalidInputException – in case the input violates the precondition.

Pre:

Requires a pure triangle mesh as input.

void sqrt3()

Perform one step of sqrt3 subdivision. See kobbelt_2000_sqrt for details.

Throws:

InvalidInputException – in case the input violates the precondition.

Pre:

Requires a pure triangle mesh as input.