CGAL 6.1 - Approximation of Ridges and Umbilics on Triangulated Surface Meshes
Loading...
Searching...
No Matches
CGAL::Ridge_line< TriangleMesh > Class Template Reference

#include <CGAL/Ridges.h>

Definition

template<typename TriangleMesh>
class CGAL::Ridge_line< TriangleMesh >

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 Symbols

(Note that these are not member symbols.)

template<typename TriangleMesh >
std::ostream & operator<< (std::ostream &os, const Ridge_line< TriangleMesh > &r)
 Writes the line type, strength, sharpness and coordinates of the points of the polyline to os.
 

Types

typedef TriangleMesh::Traits::FT FT
 
typedef boot::graph_traits< TriangleMesh >::halfedge_descriptor halfedge_descriptor
 
typedef std::pair< halfedge_descriptor, FTRidge_halfedge
 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_halfedge > * line () const
 

Member Typedef Documentation

◆ FT

template<typename TriangleMesh >
typedef TriangleMesh::Traits::FT CGAL::Ridge_line< TriangleMesh >::FT

◆ halfedge_descriptor

template<typename TriangleMesh >
typedef boot::graph_traits<TriangleMesh>::halfedge_descriptor CGAL::Ridge_line< TriangleMesh >::halfedge_descriptor

◆ Ridge_halfedge

template<typename TriangleMesh >
typedef std::pair< halfedge_descriptor, FT> CGAL::Ridge_line< TriangleMesh >::Ridge_halfedge

A halfedge crossed by a ridge is paired with the barycentric coordinate of the crossing point.

Constructor & Destructor Documentation

◆ Ridge_line()

template<typename TriangleMesh >
CGAL::Ridge_line< TriangleMesh >::Ridge_line ( )

default constructor.

Member Function Documentation

◆ line()

template<typename TriangleMesh >
const std::list< Ridge_halfedge > * CGAL::Ridge_line< TriangleMesh >::line ( ) const

◆ line_type()

template<typename TriangleMesh >
Ridge_type CGAL::Ridge_line< TriangleMesh >::line_type ( ) const

◆ sharpness()

template<typename TriangleMesh >
FT CGAL::Ridge_line< TriangleMesh >::sharpness ( ) const

◆ strength()

template<typename TriangleMesh >
FT CGAL::Ridge_line< TriangleMesh >::strength ( ) const

Friends And Related Symbol Documentation

◆ operator<<()

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.