CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::compare_y()
CGAL::x_equal()
CGAL::z_equal()

Functions

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

Function Documentation

◆ y_equal() [1/2]

template<typename Kernel >
bool CGAL::y_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 y-coordinate.

◆ y_equal() [2/2]

template<typename Kernel >
bool CGAL::y_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 y-coordinate.