GitHub link
PMP
The Polygon Mesh Processing Library
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

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

Constructor & Destructor Documentation

◆ SurfaceParameterization()

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

Member Function Documentation

◆ harmonic()

void harmonic ( bool  use_uniform_weights = false)
Exceptions
SolverExceptionin case of failure to solve the linear system.

◆ lscm()

void lscm ( )
Exceptions
SolverExceptionin case of failure to solve the linear system.