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

#include <Delaunay_triangulation_spherical_traits_3.hpp>

Constructors

 Point_3 (void)
 Default constructor, create the point (0,0,0). More...
 
 Point_3 (const RT &x, const RT &y, const RT &z)
 Constructor initializing each coordinate independently. More...
 
 Point_3 (const Point_3 &p)
 Copy a point of this type. More...
 
template<class Point3 >
 Point_3 (const Point3 &p)
 Constructor copying a point of any type to this type. More...
 

Coordinates

const RTx (void) const
 Access to the x coordinate of this point. More...
 
const RTy (void) const
 Access to the y coordinate of this point. More...
 
const RTz (void) const
 Access to the z coordinate of this point. More...
 

Intersecting Spheres

template<class OutputIterator >
OutputIterator get_spheres (OutputIterator out) const
 Return the set of spheres intersecting at this point. More...
 
void add_sphere (const SphereRep &S)
 Add a sphere to the set of spheres intersecting at this point. More...
 

Queries

bool operator== (const Point_3 &p) const
 Equality test of points. More...
 
bool operator!= (const Point_3 &p) const
 Inequality test of points. More...
 
static int number_of_common_spheres (const Point_3 &p, const Point_3 &q)
 Intersect the set of spheres of two points to know the number of common spheres. More...
 
static int number_of_common_spheres (const Point_3 &p, const Point_3 &q, const Point_3 &r)
 Intersect the set of spheres of three points to know the number of common spheres. More...
 
static int number_of_common_spheres (const Point_3 &p, const Point_3 &q, const Point_3 &r, const Point_3 &s)
 Intersect the set of spheres of four points to know the number of common spheres. More...
 
static int number_of_common_spheres (const Point_3 &p, const Point_3 &q, const Point_3 &r, const Point_3 &s, const Point_3 &t)
 Intersect the set of spheres of five points to know the number of common spheres. More...
 

Constructor & Destructor Documentation

◆ Point_3() [1/4]

Point_3 ( void  )
inline

Default constructor, create the point (0,0,0).

◆ Point_3() [2/4]

Point_3 ( const RT x,
const RT y,
const RT z 
)
inline

Constructor initializing each coordinate independently.

◆ Point_3() [3/4]

Point_3 ( const Point_3 p)
inline

Copy a point of this type.

◆ Point_3() [4/4]

Point_3 ( const Point3 &  p)
inline

Constructor copying a point of any type to this type.

Member Function Documentation

◆ add_sphere()

void add_sphere ( const SphereRep &  S)
inline

Add a sphere to the set of spheres intersecting at this point.

◆ get_spheres()

OutputIterator get_spheres ( OutputIterator  out) const
inline

Return the set of spheres intersecting at this point.

◆ number_of_common_spheres() [1/4]

static int number_of_common_spheres ( const Point_3 p,
const Point_3 q 
)
inlinestatic

Intersect the set of spheres of two points to know the number of common spheres.

◆ number_of_common_spheres() [2/4]

static int number_of_common_spheres ( const Point_3 p,
const Point_3 q,
const Point_3 r 
)
inlinestatic

Intersect the set of spheres of three points to know the number of common spheres.

◆ number_of_common_spheres() [3/4]

static int number_of_common_spheres ( const Point_3 p,
const Point_3 q,
const Point_3 r,
const Point_3 s 
)
inlinestatic

Intersect the set of spheres of four points to know the number of common spheres.

◆ number_of_common_spheres() [4/4]

static int number_of_common_spheres ( const Point_3 p,
const Point_3 q,
const Point_3 r,
const Point_3 s,
const Point_3 t 
)
inlinestatic

Intersect the set of spheres of five points to know the number of common spheres.

◆ operator!=()

bool operator!= ( const Point_3 p) const
inline

Inequality test of points.

◆ operator==()

bool operator== ( const Point_3 p) const
inline

Equality test of points.

◆ x()

const RT& x ( void  ) const
inline

Access to the x coordinate of this point.

◆ y()

const RT& y ( void  ) const
inline

Access to the y coordinate of this point.

◆ z()

const RT& z ( void  ) const
inline

Access to the z coordinate of this point.