pmp-library  1.2.1
SurfaceParameterization Class Reference

A class for surface parameterization. More...

#include <pmp/algorithms/SurfaceParameterization.h>

Public Member Functions

 SurfaceParameterization (SurfaceMesh &mesh)
 Construct with mesh to be parameterized. More...
 
void harmonic (bool use_uniform_weights=false)
 Compute discrete harmonic parameterization. More...
 
void lscm ()
 Compute parameterization based on least squares conformal mapping. More...
 

Detailed Description

A class for surface parameterization.

See [16] and [7] for more details.

Constructor & Destructor Documentation

◆ SurfaceParameterization()

Construct with mesh to be parameterized.

Precondition
The mesh has a boundary.
Exceptions
InvalidInputExceptionif the input precondition is violated.

Member Function Documentation

◆ harmonic()

void harmonic ( bool  use_uniform_weights = false)

Compute discrete harmonic parameterization.

Exceptions
SolverExceptionin case of failure to solve the linear system.

◆ lscm()

void lscm ( )

Compute parameterization based on least squares conformal mapping.

Exceptions
SolverExceptionin case of failure to solve the linear system.