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.
 
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.