Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Delaunay_triangulation_spherical_traits_3_base< Kernel, BasicKernel, SphereRep >::Orientation_3 Class Reference

#include <Delaunay_triangulation_spherical_traits_3.hpp>

Public Types

typedef BasicKernel::Orientation_3::result_type result_type
 Result type of the base functor. More...
 

Public Member Functions

 Orientation_3 (const Self &K)
 Force the construction of the functor by initializing with the base of the base kernel. More...
 
result_type operator() (const Point_3 &p, const Point_3 &q, const Point_3 &r, const Point_3 &s) const
 Find the orientation of a circle in 3D defined by p, q, r w.r.t s. More...
 

Member Typedef Documentation

◆ result_type

typedef BasicKernel::Orientation_3::result_type result_type

Result type of the base functor.

Constructor & Destructor Documentation

◆ Orientation_3()

Orientation_3 ( const Self K)
inline

Force the construction of the functor by initializing with the base of the base kernel.

Member Function Documentation

◆ operator()()

result_type operator() ( const Point_3 p,
const Point_3 q,
const Point_3 r,
const Point_3 s 
) const
inline

Find the orientation of a circle in 3D defined by p, q, r w.r.t s.

If the four points are the intersection of at least 2 common spheres, there are coplanar. If not, a functor from the CGAL library allows to find the orientation.