CGAL 4.5 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes
|
#include <CGAL/Umbilics.h>
The class Umbilic_approximation
computes the approximation of umbilics on a triangular polyhedral surface.
TriangulatedSurfaceMesh | is the surface type. |
Vertex2FTPropertyMap,Vertex2VectorPropertyMap | provide the differential properties of the surface associated to its vertices. |
Requirements (checked at compile time) :
TriangulatedSurfaceMesh::Traits::FT
and Vertex2FTPropertyMap::value_type
must coincide;TriangulatedSurfaceMesh::Traits::Vector_3
and Vertex2VectorPropertyMap::value_type
must coincide;TriangulatedSurfaceMesh::Vertex_handle
, Vertex2FTPropertyMap::key_type
and Vertex2VectorPropertyMap::key_type
must coincide;Types | |
typedef TriangulatedSurfaceMesh::Traits::FT | FT |
Creation | |
Umbilic_approximation (const TriangulatedSurfaceMesh &P, const Vertex2FTPropertyMap &vertex2k1_pm, const Vertex2FTPropertyMap &vertex2k2_pm, const Vertex2VectorPropertyMap &vertex2d1_pm, const Vertex2VectorPropertyMap &vertex2d2_pm) | |
default constructor. | |
Operations | |
template<class OutputIterator > | |
OutputIterator | 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. More... | |
OutputIterator CGAL::Umbilic_approximation< TriangulatedSurfaceMesh, Vertex2FTPropertyMap, Vertex2VectorPropertyMap >::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 inserted into the OutputIterator
it
with value type Umbilic*
.