Class

CGAL::Umbilic_approximation<TriangulatedSurfaceMesh,Vertex2FTPropertyMap,Vertex2VectorPropertyMap>

Definition

The class Umbilic_approximation<TriangulatedSurfaceMesh,Vertex2FTPropertyMap,Vertex2VectorPropertyMap> computes the approximation of umbilics on a triangular polyhedral surface.

#include <CGAL/Umbilics.h>

Parameters

The class Umbilic_approximation<TriangulatedSurfaceMesh,Vertex2FTPropertyMap,Vertex2VectorPropertyMap> has three template parameters. TriangulatedSurfaceMesh provides the surface. Parameters Vertex2FTPropertyMap and Vertex2VectorPropertyMap provide the differential properties of the surface associated to its vertices.

Requirements (checked at compile time) : the types TriangulatedSurfaceMesh::Traits::FT and Vertex2FTPropertyMap::value_type must coincide; the types TriangulatedSurfaceMesh::Traits::Vector_3 and Vertex2VectorPropertyMap::value_type must coincide; the types TriangulatedSurfaceMesh::Vertex_handle, Vertex2FTPropertyMap::key_type and Vertex2VectorPropertyMap::key_type must coincide;

Types

typedef typename TriangulatedSurfaceMesh::Traits::FT
FT;

Creation

Umbilic_approximation<TriangulatedSurfaceMesh,Vertex2FTPropertyMap,Vertex2VectorPropertyMap> umbilic_approximation ( TriangulatedSurfaceMesh P,
Vertex2FTPropertyMap vertex2k1_pm,
Vertex2FTPropertyMap vertex2k2_pm,
Vertex2VectorPropertyMap vertex2d1_pm,
Vertex2VectorPropertyMap vertex2d2_pm);
default constructor.

Operations

template <class OutputIterator>
OutputIterator umbilic_approximation.compute ( OutputIterator it, FT size)
Performs the approximation, size determines the size of the patches around vertices, taken as size times the size of the 1-ring. Umbilics are output through the OutputIterator which is a concept of output iterator of the Stl with value type Umbilic*.

See Also

Umbilic TriangulatedSurfaceMesh Vertex2FTPropertyMap Vertex2VectorPropertyMap