CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::compare_x()
CGAL::y_equal()
CGAL::z_equal()

Functions

template<typename Kernel >
bool CGAL::x_equal (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 returns true, iff p and q have the same x-coordinate. More...
 
template<typename Kernel >
bool CGAL::x_equal (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q)
 returns true, iff p and q have the same x-coordinate. More...
 

Function Documentation

◆ x_equal() [1/2]

template<typename Kernel >
bool CGAL::x_equal ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

returns true, iff p and q have the same x-coordinate.

◆ x_equal() [2/2]

template<typename Kernel >
bool CGAL::x_equal ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

returns true, iff p and q have the same x-coordinate.