diff --git a/Weights/doc/Weights/PackageDescription.txt b/Weights/doc/Weights/PackageDescription.txt index 6814672770f..b85e768b8ac 100644 --- a/Weights/doc/Weights/PackageDescription.txt +++ b/Weights/doc/Weights/PackageDescription.txt @@ -434,39 +434,6 @@ a model of `AnalyticWeightTraits_3` for 3D points \addtogroup PkgWeightsRefRegions - -\defgroup PkgWeightsRefUtils Utility Functions -\ingroup PkgWeightsRef - -Various related utility functions. - - -\defgroup PkgWeightsRefTangents Tangent -\ingroup PkgWeightsRefUtils - -Given three points `p`, `q`, and `r`, these functions compute the tangent of -the angle `[p, q, r]` in 2D or 3D. - -\tparam GeomTraits -a model of `AnalyticWeightTraits_2` for 2D points; -a model of `AnalyticWeightTraits_3` for 3D points - -\addtogroup PkgWeightsRefUtils - - -\defgroup PkgWeightsRefCotangents Cotangent -\ingroup PkgWeightsRefUtils - -Given three points `p`, `q`, and `r`, these functions compute the cotangent of -the angle `[p, q, r]` in 2D or 3D. - -\tparam GeomTraits -a model of `AnalyticWeightTraits_2` for 2D points; -a model of `AnalyticWeightTraits_3` for 3D points - -\addtogroup PkgWeightsRefUtils - - \addtogroup PkgWeightsRef diff --git a/Weights/examples/Weights/projection_traits.cpp b/Weights/examples/Weights/projection_traits.cpp index f523978882f..81c35b4e4ad 100644 --- a/Weights/examples/Weights/projection_traits.cpp +++ b/Weights/examples/Weights/projection_traits.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/Weights/examples/Weights/weighted_laplacian.cpp b/Weights/examples/Weights/weighted_laplacian.cpp index 99fc1eba70d..437d608edec 100644 --- a/Weights/examples/Weights/weighted_laplacian.cpp +++ b/Weights/examples/Weights/weighted_laplacian.cpp @@ -1,10 +1,8 @@ #include -#include -#include -#include #include #include #include +#include // Typedefs. using Kernel = CGAL::Simple_cartesian; diff --git a/Weights/include/CGAL/Weights/utils.h b/Weights/include/CGAL/Weights/utils.h index 1d052485312..ce3f6399f28 100644 --- a/Weights/include/CGAL/Weights/utils.h +++ b/Weights/include/CGAL/Weights/utils.h @@ -23,114 +23,6 @@ namespace CGAL { namespace Weights { - #if defined(DOXYGEN_RUNNING) - - /*! - \ingroup PkgWeightsRefTangents - - \brief computes the tangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 2D points `p`, `q` and `r`, given a traits class `traits` with geometric objects, - predicates, and constructions. - */ - template - typename GeomTraits::FT tangent( - const typename GeomTraits::Point_2& p, - const typename GeomTraits::Point_2& q, - const typename GeomTraits::Point_2& r, - const GeomTraits& traits) { } - - /*! - \ingroup PkgWeightsRefTangents - - \brief computes the tangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 3D points `p`, `q` and `r`, given a traits class `traits` with geometric objects, - predicates, and constructions. - */ - template - typename GeomTraits::FT tangent( - const typename GeomTraits::Point_3& p, - const typename GeomTraits::Point_3& q, - const typename GeomTraits::Point_3& r, - const GeomTraits& traits) { } - - /*! - \ingroup PkgWeightsRefTangents - - \brief computes the tangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 2D points `p`, `q` and `r` which are parameterized by a `Kernel` K. - */ - template - typename K::FT tangent( - const CGAL::Point_2& p, - const CGAL::Point_2& q, - const CGAL::Point_2& r) { } - - /*! - \ingroup PkgWeightsRefTangents - - \brief computes the tangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 3D points `p`, `q` and `r` which are parameterized by a `Kernel` K. - */ - template - typename K::FT tangent( - const CGAL::Point_3& p, - const CGAL::Point_3& q, - const CGAL::Point_3& r) { } - - /*! - \ingroup PkgWeightsRefCotangents - - \brief computes the cotangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 2D points `p`, `q` and `r`, given a traits class `traits` with geometric objects, - predicates, and constructions. - */ - template - typename GeomTraits::FT cotangent( - const typename GeomTraits::Point_2& p, - const typename GeomTraits::Point_2& q, - const typename GeomTraits::Point_2& r, - const GeomTraits& traits) { } - - /*! - \ingroup PkgWeightsRefCotangents - - \brief computes the cotangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 3D points `p`, `q` and `r`, given a traits class `traits` with geometric objects, - predicates, and constructions. - */ - template - typename GeomTraits::FT cotangent( - const typename GeomTraits::Point_3& p, - const typename GeomTraits::Point_3& q, - const typename GeomTraits::Point_3& r, - const GeomTraits& traits) { } - - /*! - \ingroup PkgWeightsRefCotangents - - \brief computes the cotangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 2D points `p`, `q` and `r` which are parameterized by a `Kernel` K. - */ - template - typename K::FT cotangent( - const CGAL::Point_2& p, - const CGAL::Point_2& q, - const CGAL::Point_2& r) { } - - /*! - \ingroup PkgWeightsRefCotangents - - \brief computes the cotangent of the angle between the vectors `[q, r]` and `[q, p]` - using the 3D points `p`, `q` and `r` which are parameterized by a `Kernel` K. - */ - template - typename K::FT cotangent( - const CGAL::Point_3& p, - const CGAL::Point_3& q, - const CGAL::Point_3& r) { } - - #endif // DOXYGEN_RUNNING - /// \cond SKIP_IN_MANUAL template typename GeomTraits::FT tangent(