|
CGAL 4.7 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes
|
#include <CGAL/Ridges.h>
The class Ridge_approximation computes the approximation of ridges of 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;Ridge_line Types | |
| enum | Tag_order { Tag_3, Tag_4 } |
| Order of differential quantities used to distinguish elliptic and hyperbolic ridges. More... | |
Creation | |
| Ridge_approximation (const TriangulatedSurfaceMesh &P, const Vertex2FTPropertyMap &vertex2k1_pm, const Vertex2FTPropertyMap &vertex2k2_pm, const Vertex2FTPropertyMap &vertex2b0_pm, const Vertex2FTPropertyMap &vertex2b3_pm, const Vertex2VectorPropertyMap &vertex2d1_pm, const Vertex2VectorPropertyMap &vertex2d2_pm, const Vertex2FTPropertyMap &vertex2P1_pm, const Vertex2FTPropertyMap &vertex2P2_pm) | |
The two last property maps may not be used if computations are performed with the parameter Tag_3, in which case these property maps shall be initialized with their default constructors. More... | |
| template<class OutputIterator > | |
| OutputIterator | compute_max_ridges (OutputIterator it, Tag_order ord=Tag_3) |
Outputs ridges of types MAX_ELLIPTIC_RIDGE and MAX_HYPERBOLIC_RIDGE. More... | |
| template<class OutputIterator > | |
| OutputIterator | compute_min_ridges (OutputIterator it, Tag_order ord=Tag_3) |
Outputs ridges of types MIN_ELLIPTIC_RIDGE and MIN_HYPERBOLIC_RIDGE. More... | |
| template<class OutputIterator > | |
| OutputIterator | compute_crest_ridges (OutputIterator it, Tag_order ord=Tag_3) |
Outputs ridges of types MAX_CREST_RIDGE and MIN_CREST_RIDGE. More... | |
| CGAL::Ridge_approximation< TriangulatedSurfaceMesh, Vertex2FTPropertyMap, Vertex2VectorPropertyMap >::Ridge_approximation | ( | const TriangulatedSurfaceMesh & | P, |
| const Vertex2FTPropertyMap & | vertex2k1_pm, | ||
| const Vertex2FTPropertyMap & | vertex2k2_pm, | ||
| const Vertex2FTPropertyMap & | vertex2b0_pm, | ||
| const Vertex2FTPropertyMap & | vertex2b3_pm, | ||
| const Vertex2VectorPropertyMap & | vertex2d1_pm, | ||
| const Vertex2VectorPropertyMap & | vertex2d2_pm, | ||
| const Vertex2FTPropertyMap & | vertex2P1_pm, | ||
| const Vertex2FTPropertyMap & | vertex2P2_pm | ||
| ) |
The two last property maps may not be used if computations are performed with the parameter Tag_3, in which case these property maps shall be initialized with their default constructors.
| OutputIterator CGAL::Ridge_approximation< TriangulatedSurfaceMesh, Vertex2FTPropertyMap, Vertex2VectorPropertyMap >::compute_crest_ridges | ( | OutputIterator | it, |
| Tag_order | ord = Tag_3 |
||
| ) |
Outputs ridges of types MAX_CREST_RIDGE and MIN_CREST_RIDGE.
Parameter it is an output iterator whose value type is Ridge_line*.
| OutputIterator CGAL::Ridge_approximation< TriangulatedSurfaceMesh, Vertex2FTPropertyMap, Vertex2VectorPropertyMap >::compute_max_ridges | ( | OutputIterator | it, |
| Tag_order | ord = Tag_3 |
||
| ) |
Outputs ridges of types MAX_ELLIPTIC_RIDGE and MAX_HYPERBOLIC_RIDGE.
Parameter it is an output iterator whose value type is Ridge_line*.
| OutputIterator CGAL::Ridge_approximation< TriangulatedSurfaceMesh, Vertex2FTPropertyMap, Vertex2VectorPropertyMap >::compute_min_ridges | ( | OutputIterator | it, |
| Tag_order | ord = Tag_3 |
||
| ) |
Outputs ridges of types MIN_ELLIPTIC_RIDGE and MIN_HYPERBOLIC_RIDGE.
Parameter it is an output iterator whose value type is Ridge_line*.