Class

CGAL::Ridge_line<TriangulatedSurfaceMesh>

Definition

The class Ridge_line<TriangulatedSurfaceMesh> 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 × p + (1-b) × q.

#include <CGAL/Ridges.h>

Types

typedef typename TriangulatedSurfaceMesh::Traits::FT
FT;
typedef typename 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.

Creation

Ridge_line<TriangulatedSurfaceMesh> ridge_line;
default constructor.

Access Functions

const Ridge_type ridge_line.line_type ()
const FT ridge_line.strength ()
const FT ridge_line.sharpness ()
const std::list<Ridge_halfhedge>* ridge_line.line ()

The opertor << is overloaded for this class and returns the line type, strength, sharpness and coordinates of the points of the polyline.

See Also

Ridge_approximation,