#include <CGAL/Projection_on_sphere_traits_3.h>
template<typename LK, typename SK = CGAL::Spherical_kernel_3< LK, CGAL::Algebraic_kernel_for_spheres_2_3<typename LK::FT> >>
class CGAL::Projection_on_sphere_traits_3< LK, SK >
The class Projection_on_sphere_traits_3 is a model of the concept DelaunayTriangulationOnSphereTraits_2.
It implements the Point_on_sphere_2 type as a custom point type which represents the projection of a point living in the 3D Euclidean space onto the sphere along the segment between said point and the center of the sphere.
- Template Parameters
-
| LK | a linear kernel type; must be a model of Kernel. |
| SK | a spherical kernel type; must be a model of SphericalKernel. |
- Is Model Of:
DelaunayTriangulationOnSphereTraits_2
- See also
CGAL::Delaunay_triangulation_on_sphere_traits_2
- Examples:
- Triangulation_on_sphere_2/triang_on_sphere_exact.cpp, Triangulation_on_sphere_2/triang_on_sphere_proj.cpp, and Triangulation_on_sphere_2/triang_on_sphere_range.cpp.
◆ are_points_too_close()
template<typename LK , typename SK = CGAL::Spherical_kernel_3< LK, CGAL::Algebraic_kernel_for_spheres_2_3<typename LK::FT> >>
◆ is_on_sphere()
template<typename LK , typename SK = CGAL::Spherical_kernel_3< LK, CGAL::Algebraic_kernel_for_spheres_2_3<typename LK::FT> >>
Due to the chosen point representation, any point is theoretically on the sphere, and this function always returns true.