Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Triangulation_extension_3_base< Triangulation3 >::Canonical_facet Class Reference

Canonical representation of a facet in the 3D Triangulation. More...

#include <Triangulation_extension_3.hpp>

Constructors

 Canonical_facet (void)
 Default constructor.
 Canonical_facet (const Canonical_facet &other)
 Copy constructor.
 Canonical_facet (const Facet &f, const Triangulation3 &t)
 Constructor initializing with a CGAL facet.

Accessors

Cell_handle get_incident_cell (void) const
 Access to the finite incident cell of this facet comparing the lowest.
Vertex_handle get_opposite_vertex (void) const
 Access to the opposite vertex of the associated incident cell.
Facet get_facet (void) const
 Access to a CGAL representation of the facet.

Detailed Description

template<class Triangulation3>
class SBL::GT::T_Triangulation_extension_3_base< Triangulation3 >::Canonical_facet

Canonical representation of a facet in the 3D Triangulation.

It is the same as Facet, but if the facet has two cofaces, its associated coface is the one that compares the lesser.

Constructor & Destructor Documentation

◆ Canonical_facet() [1/3]

template<class Triangulation3>
Canonical_facet ( void )
inline

Default constructor.

◆ Canonical_facet() [2/3]

template<class Triangulation3>
Canonical_facet ( const Canonical_facet & other)
inline

Copy constructor.

◆ Canonical_facet() [3/3]

template<class Triangulation3>
Canonical_facet ( const Facet & f,
const Triangulation3 & t )
inline

Constructor initializing with a CGAL facet.

Note that we need the triangulation in order to know if there is an infinite bounding cell.

Member Function Documentation

◆ get_facet()

template<class Triangulation3>
Facet get_facet ( void ) const
inline

Access to a CGAL representation of the facet.

◆ get_incident_cell()

template<class Triangulation3>
Cell_handle get_incident_cell ( void ) const
inline

Access to the finite incident cell of this facet comparing the lowest.

◆ get_opposite_vertex()

template<class Triangulation3>
Vertex_handle get_opposite_vertex ( void ) const
inline

Access to the opposite vertex of the associated incident cell.