The class Ridge_approximation<TriangulatedSurfaceMesh,Vertex2FTPropertyMap,Vertex2VectorPropertyMap> computes the approximation of ridges of a triangular polyhedral surface.
#include <CGAL/Ridges.h>
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;
enum Tag_order { Tag_3, Tag_4}; | |
Order of differential
quantities used to distinguish elliptic and hyperbolic ridges. Third
(Tag_3) or fourth (Tag_4) order quantities may be used as
explained in section 55.2 of the user manual.
|
| |||
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.
|
template <class OutputIterator> | ||
OutputIterator | ridge_approximation.compute_max_ridges ( OutputIterator it, Tag_order ord = Tag_3) | |
Outputs ridges of types MAX_ELLIPTIC_RIDGE and MAX_HYPERBOLIC_RIDGE. Parameter it is a Stl output iterator whose value_type is Ridge_line*. | ||
template <class OutputIterator> | ||
OutputIterator | ridge_approximation.compute_min_ridges ( OutputIterator it, Tag_order ord = Tag_3) | |
Outputs ridges of types MIN_ELLIPTIC_RIDGE and MIN_HYPERBOLIC_RIDGE. Parameter it is a Stl output iterator whose value_type is Ridge_line*. | ||
template <class OutputIterator> | ||
OutputIterator | ridge_approximation.compute_crest_ridges ( OutputIterator it, Tag_order ord = Tag_3) | |
Outputs ridges of types MAX_CREST_RIDGE and MIN_CREST_RIDGE. Parameter it is a Stl output iterator whose value_type is Ridge_line*. |