Class SurfaceParameterization

Class Documentation

class SurfaceParameterization

A class for surface parameterization.

See levy_2002_least and desbrun_2002_intrinsic for more details.

Public Functions

SurfaceParameterization(SurfaceMesh &mesh)

Construct with mesh to be parameterized.

Throws:

InvalidInputException – if the input precondition is violated.

Pre:

The mesh has a boundary.

void harmonic(bool use_uniform_weights = false)

Compute discrete harmonic parameterization.

Throws:

SolverException – in case of failure to solve the linear system.

void lscm()

Compute parameterization based on least squares conformal mapping.

Throws:

SolverException – in case of failure to solve the linear system.