CGAL::y_equal

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

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

See Also

CGAL::compare_y
CGAL::x_equal
CGAL::z_equal