CGAL::Two_vertices_parameterizer_3<ParameterizationMesh_3>

Definition

Two_vertices_parameterizer_3 is the default border parameterizer for Least Squares Conformal Maps parameterization.

The class Two_vertices_parameterizer_3 parameterizes two extreme vertices of a 3D surface. This kind of border parameterization is used by free border parameterizations.

Implementation note: To simplify the implementation, BorderParameterizer_3 models know only the ParameterizationMesh_3 class. They do not know the parameterization algorithm requirements or the kind of sparse linear system used.

#include <CGAL/Two_vertices_parameterizer_3.h>

Is Model for the Concepts

Model of the BorderParameterizer_3 concept.

Design Pattern

BorderParameterizer_3 models are Strategies [GHJV95]: they implement a strategy of border parameterization for models of ParameterizationMesh_3.

Parameters

The full template declaration is:

template<
class ParameterizationMesh_3>
class Two_vertices_parameterizer_3;

Types

Two_vertices_parameterizer_3<ParameterizationMesh_3>::Adaptor
Export ParameterizationMesh_3 template parameter.

Creation

Two_vertices_parameterizer_3<ParameterizationMesh_3> bp;
default constructor.

Operations

Parameterizer_traits_3<Adaptor>::Error_code
bp.parameterize_border ( Adaptor& mesh)
Map two extreme vertices of the 3D mesh and mark them as parameterized. Map two extreme vertices of the 3D mesh and mark them as parameterized. Return false on error.
bool bp.is_border_convex () Indicate if border's shape is convex. Meaningless for free border parameterization algorithms.

See Also

CGAL::Circular_border_arc_length_parameterizer_3<ParameterizationMesh_3>
CGAL::Circular_border_uniform_parameterizer_3<ParameterizationMesh_3>
CGAL::Square_border_arc_length_parameterizer_3<ParameterizationMesh_3>
CGAL::Square_border_uniform_parameterizer_3<ParameterizationMesh_3>