CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::compare_z()
CGAL::x_equal()
CGAL::y_equal()

Functions

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

Function Documentation

◆ z_equal()

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