\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - Planar Parameterization of Triangulated Surface Meshes
CGAL::Surface_mesh_parameterization::Circular_border_arc_length_parameterizer_3< TriangleMesh_ > Class Template Reference

#include <CGAL/Surface_mesh_parameterization/Circular_border_parameterizer_3.h>

Inherits from

CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3< TriangleMesh_ >.

Definition

This class parameterizes the border of a 3D surface onto a circle, with an arc-length parameterization: the (u,v) values are proportional to the length of border edges.

The class Circular_border_parameterizer_3 implements most of the border parameterization algorithm.

Is Model Of:
Parameterizer_3
Template Parameters
TriangleMesh_must be a model of FaceGraph.
See also
CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3<TriangleMesh>
CGAL::Surface_mesh_parameterization::Circular_border_uniform_parameterizer_3<TriangleMesh>

Protected Member Functions

virtual NT compute_edge_length (const TriangleMesh &mesh, vertex_descriptor source, vertex_descriptor target) const
 Compute the length of an edge. More...
 

Additional Inherited Members

- Public Types inherited from CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3< TriangleMesh_ >
typedef TriangleMesh_ TriangleMesh
 
typedef boost::graph_traits< TriangleMesh >::vertex_descriptor vertex_descriptor
 
typedef boost::graph_traits< TriangleMesh >::halfedge_descriptor halfedge_descriptor
 
- Public Member Functions inherited from CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3< TriangleMesh_ >
template<typename VertexUVmap , typename VertexIndexMap , typename VertexParameterizedMap >
Error_code parameterize (const TriangleMesh &mesh, halfedge_descriptor bhd, VertexUVmap uvmap, VertexIndexMap, VertexParameterizedMap vpmap)
 Assign to the mesh's border vertices a 2D position (i.e. a (u,v) pair) on the circle. More...
 
bool is_border_convex () const
 Indicate if border's shape is convex.
 
- Protected Types inherited from CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3< TriangleMesh_ >
typedef internal::Kernel_traits< TriangleMesh_ >::PPM PPM
 
typedef internal::Kernel_traits< TriangleMesh_ >::Kernel Kernel
 
typedef Kernel::FT NT
 
typedef Kernel::Point_2 Point_2
 
typedef Kernel::Vector_3 Vector_3
 

Member Function Documentation

◆ compute_edge_length()

template<class TriangleMesh_ >
virtual NT CGAL::Surface_mesh_parameterization::Circular_border_arc_length_parameterizer_3< TriangleMesh_ >::compute_edge_length ( const TriangleMesh &  mesh,
vertex_descriptor  source,
vertex_descriptor  target 
) const
protectedvirtual

Compute the length of an edge.

Arc-length border parameterization: (u,v) values are proportional to the length of border edges.

Implements CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3< TriangleMesh_ >.