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

Predicate checking that a facet of the 3D triangulation is counter-clockwise oriented. More...

#include <Triangulation_extension_3.hpp>

Functors

bool operator() (Vertex_handle v_1, Vertex_handle v_2, Vertex_handle v_3, Vertex_handle v_4, const Triangulation3 &T) const
 Checks that a facet of the 3D triangulation is counter-clockwise oriented. More...
 

Detailed Description

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

Predicate checking that a facet of the 3D triangulation is counter-clockwise oriented.

Member Function Documentation

◆ operator()()

bool operator() ( Vertex_handle  v_1,
Vertex_handle  v_2,
Vertex_handle  v_3,
Vertex_handle  v_4,
const Triangulation3 &  T 
) const
inline

Checks that a facet of the 3D triangulation is counter-clockwise oriented.

Note that the vertices of a cell of the 3D triangulation-complex are sorted such that all the cells have the same orientation: checking the order of vertices is sufficient for checking the orientation of a facet.

Precondition
the cell (v_1, v_2, v_3, v_4) exists