CGAL 4.7 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes
|
#include <CGAL/Ridges.h>
The class Ridge_line
stores the description of a ridge line.
The list of halfedges defines a connected sequence of edges (but not as oriented halfedges). The scalar \( b\) paired with a halfedge \( pq\) is the barycentric coordinate of the crossing point \( r\) with the ridge: \( r = b\times p + (1-b)\times q\).
Ridge_approximation
Types | |
typedef TriangulatedSurfaceMesh::Traits::FT | FT |
typedef TriangulatedSurfaceMesh::Halfedge_handle | Halfedge_handle |
typedef std::pair < Halfedge_handle, FT > | Ridge_halfhedge |
A halfedge crossed by a ridge is paired with the barycentric coordinate of the crossing point. More... | |
Creation | |
Ridge_line () | |
default constructor. More... | |
Access Functions | |
Ridge_type | line_type () const |
FT | strength () const |
FT | sharpness () const |
const std::list < Ridge_halfhedge > * | line () const |
template<typename TriangulatedSurfaceMesh > | |
std::ostream & | operator<< (std::ostream &o, const Ridge_line< TriangulatedSurfaceMesh > &) |
Writes the line type, strength, sharpness and coordinates of the points of the polyline to o . More... | |
typedef TriangulatedSurfaceMesh::Traits::FT CGAL::Ridge_line< TriangulatedSurfaceMesh >::FT |
typedef TriangulatedSurfaceMesh::Halfedge_handle CGAL::Ridge_line< TriangulatedSurfaceMesh >::Halfedge_handle |
typedef std::pair< Halfedge_handle, FT> CGAL::Ridge_line< TriangulatedSurfaceMesh >::Ridge_halfhedge |
A halfedge crossed by a ridge is paired with the barycentric coordinate of the crossing point.
CGAL::Ridge_line< TriangulatedSurfaceMesh >::Ridge_line | ( | ) |
default constructor.
const std::list<Ridge_halfhedge>* CGAL::Ridge_line< TriangulatedSurfaceMesh >::line | ( | ) | const |
Ridge_type CGAL::Ridge_line< TriangulatedSurfaceMesh >::line_type | ( | ) | const |
std::ostream& CGAL::Ridge_line< TriangulatedSurfaceMesh >::operator<< | ( | std::ostream & | o, |
const Ridge_line< TriangulatedSurfaceMesh > & | |||
) |
Writes the line type, strength, sharpness and coordinates of the points of the polyline to o
.
FT CGAL::Ridge_line< TriangulatedSurfaceMesh >::sharpness | ( | ) | const |
FT CGAL::Ridge_line< TriangulatedSurfaceMesh >::strength | ( | ) | const |