CGAL::x_equal

bool x_equal ( Point_2<Kernel> p, Point_2<Kernel> q)
returns true, iff p and q have the same x-coordinate.

bool x_equal ( Point_3<Kernel> p, Point_3<Kernel> q)
returns true, iff p and q have the same x-coordinate.

See Also

CGAL::compare_x
CGAL::y_equal
CGAL::z_equal