Function

CGAL::compare_theta

#include <CGAL/global_functions_spherical_kernel_3.h>

Comparison_result
compare_theta ( Circular_arc_point_3<SphericalKernel> p,
Circular_arc_point_3<SphericalKernel> q,
Sphere_3<SphericalKernel> sphere)
Compares the theta-coordinates of p and q relatively to sphere.
Precondition: p and q lie on sphere, but do not coincide with the poles of sphere.

Comparison_result
compare_theta ( SphericalKernel::Circular_arc_point_3 p,
SphericalKernel::Vector_3 m,
SphericalKernel::Sphere_3 sphere)
Compares the theta-coordinates of p and of the meridian defined by m (see section 14.2) in the cylindrical coordinate system relative to sphere .
Precondition: p lies on sphere, but does not coincide with its poles. m (0,0,0) and the z-coordinate of m is 0.

Comparison_result compare_theta ( SphericalKernel::Vector_3 m, SphericalKernel::Circular_arc_point_3 p)
Same as previous, with opposite result.

See Also

CGAL::compare_x
CGAL::compare_xy
CGAL::compare_xyz
CGAL::compare_x_at_y
CGAL::compare_y
CGAL::compare_yx
CGAL::compare_y_at_x
CGAL::compare_z
CGAL::compare_theta_z