CGAL::Circular_border_parameterizer_3<ParameterizationMesh_3>

Definition

This is the base class of strategies that parameterize the border of a 3D surface onto a circle. Circular_border_parameterizer_3 is a pure virtual class, thus cannot be instantiated. It implements most of the algorithm. Subclasses just have to implement compute_edge_length() to compute a segment's length.

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/Circular_border_parameterizer_3.h>

Is Model for the Concepts

Model of the BorderParameterizer_3 concept (although you cannot instantiate this class).

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 Circular_border_parameterizer_3;

Types

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

Creation

Operations

Parameterizer_traits_3<Adaptor>::Error_code
bp.parameterize_border ( Adaptor& mesh)
Assign to mesh's border vertices a 2D position (i.e. a (u, v) pair) on border's shape. Mark them as parameterized.
bool bp.is_border_convex () Indicate if border's shape is convex.
virtual double bp.compute_edge_length ( Adaptor mesh, Vertex_const_handle source, Vertex_const_handle target)
Compute the length of an edge.

See Also

CGAL::Circular_border_arc_length_parameterizer_3<ParameterizationMesh_3>
CGAL::Circular_border_uniform_parameterizer_3<ParameterizationMesh_3>