\begin{ccRefFunction}{compare_z}


Depending on which \cgal\ \ccHtmlNoLinksFrom{kernel} is used,
different versions of this global function are available. This is
described below.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paragraph{With the basic 3D Kernel} (see Chapter~\ref{chapter-kernel-23})

\ccFunction{Comparison_result compare_z(const Point_3<Kernel> &p,
                            	        const Point_3<Kernel> &q);}
        {compares the $z$-coordinates of $p$ and $q$.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paragraph{With the 3D Spherical Kernel} (see Chapter~\ref{chapter-spherical-kernel}) 

\ccInclude{CGAL/global_functions_spherical_kernel_3.h}

If this kernel is used, in addition to the function and the
combination of 2D types described above, another version of the function
is provided.

\ccFunction{Comparison_result 
  compare_z(const Circular_arc_point_3<SphericalKernel> &p,
            const Circular_arc_point_3<SphericalKernel> &q);}
{compares the $z$-coordinates of $p$ and $q$.}

\ccFunction{Comparison_result 
  compare_z(const Circular_arc_point_3<SphericalKernel> &p,
            const Point_3<SphericalKernel> &q);}
{compares the $z$-coordinates of $p$ and $q$.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ccSeeAlso
\ccRefIdfierPage{CGAL::compare_xy} \\
\ccRefIdfierPage{CGAL::compare_xyz} \\
\ccRefIdfierPage{CGAL::compare_x} \\
\ccRefIdfierPage{CGAL::compare_x_at_y} \\
\ccRefIdfierPage{CGAL::compare_y} \\
\ccRefIdfierPage{CGAL::compare_yx} \\
\ccRefIdfierPage{CGAL::compare_y_at_x} \\

\end{ccRefFunction}

