CGAL 4.7 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes: CGAL::Ridge_line< TriangleMesh > Class Template Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members | Related Functions
CGAL::Ridge_line< TriangleMesh > Class Template Reference
Approximation of Ridges and Umbilics on Triangulated Surface Meshes Reference

`#include <CGAL/Ridges.h>`

## Definition

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\).

See Also
  `Ridge_approximation`

## Related Functions

(Note that these are not member functions.)
template<typename TriangleMesh >
std::ostream & | operator<< (std::ostream &os, const Ridge_line< TriangleMesh > &r)

## Types

typedef TriangleMesh::Traits::FT | FT
typedef boot::graph_traits < TriangleMesh > ::halfedge_descriptor | halfedge_descriptor
typedef std::pair < halfedge_descriptor, FT > | Ridge_halfhedge
| A halfedge crossed by a ridge is paired with the barycentric coordinate of the crossing point.

## Creation

| Ridge_line ()
| default constructor.

## Access Functions

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

## Friends And Related Function Documentation

template<typename TriangleMesh >

std::ostream & operator<< | ( | std::ostream & | os,
|  | const Ridge_line< TriangleMesh > & | r
| ) |  |

related

Writes the line type, strength, sharpness and coordinates of the points of the polyline to `os`.