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. More...
 
 Canonical_facet (const Canonical_facet &other)
 Copy constructor. More...
 
 Canonical_facet (const Facet &f, const Triangulation3 &t)
 Constructor initializing with a CGAL facet. More...
 

Accessors

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

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]

Canonical_facet ( void  )
inline

Default constructor.

◆ Canonical_facet() [2/3]

Canonical_facet ( const Canonical_facet other)
inline

Copy constructor.

◆ Canonical_facet() [3/3]

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()

Facet get_facet ( void  ) const
inline

Access to a CGAL representation of the facet.

◆ get_incident_cell()

Cell_handle get_incident_cell ( void  ) const
inline

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

◆ get_opposite_vertex()

Vertex_handle get_opposite_vertex ( void  ) const
inline

Access to the opposite vertex of the associated incident cell.