Skip to content

Commit

Permalink
Address some review points
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Dec 19, 2024
1 parent 19f8b9c commit 201f658
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ class FrechetDistanceTraits {
/// @{

/*!
Dimension type, being an instance of `CGAL::Dimension_tag`.
Dimension type with the ambient dimension `d`.
*/
using Dimension = unspecified_type;
using Dimension = CGAL::Dimension_tag<d>;

/*!
Point type.
*/
using Point_d = unspecified_type;

/*!
The number type of the %Cartesian coordinates of types `Point_d`.
The number type of the %Cartesian coordinates of type `Point_d`.
For a given `FT n`, `to_interval(n)` must be a valid expression and it must
return an interval containing `n`, represented by a `std::pair<double, double>`.
*/
Expand Down
6 changes: 3 additions & 3 deletions Frechet_distance/include/CGAL/Frechet_distance_traits_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ namespace CGAL
* \ingroup PkgFrechetDistanceTraits
*
* \cgalModels{FrechetDistanceTraits}
* \tparam GT geometric traits class
* \tparam K geometric traits class
*/
template <class GT>
template <class K>
class Frechet_distance_traits_2
{
public:
using Dimension = Dimension_tag<2>;

using Kernel = GT;
using Kernel = K;
using FT = typename Kernel::FT;
using Point_d = typename Kernel::Point_2;
using Construct_bbox_d = typename Kernel::Construct_bbox_2;
Expand Down
6 changes: 3 additions & 3 deletions Frechet_distance/include/CGAL/Frechet_distance_traits_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ namespace CGAL
* \ingroup PkgFrechetDistanceTraits
*
* \cgalModels{FrechetDistanceTraits}
* \tparam GT geometric traits class
* \tparam K geometric traits class
*/
template <class GT>
template <class K>
class Frechet_distance_traits_3
{
public:
using Dimension = Dimension_tag<3>;

using Kernel = GT;
using Kernel = K;
using FT = typename Kernel::FT;
using Point_d = typename Kernel::Point_3;
using Construct_bbox_d = typename Kernel::Construct_bbox_3;
Expand Down
8 changes: 4 additions & 4 deletions Frechet_distance/include/CGAL/Frechet_distance_traits_d.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ namespace CGAL
* \ingroup PkgFrechetDistanceTraits
*
* \cgalModels{FrechetDistanceTraits}
* \tparam GT geometric traits class
* \tparam K geometric traits class
*/
template <class GT>
template <class K>
class Frechet_distance_traits_d
{
public:
using Dimension = Dimension_tag<GT::Dimension::value>;
using Dimension = Dimension_tag<K::Dimension::value>;

using Kernel = GT;
using Kernel = K;
using FT = typename Kernel::FT;
using Point_d = typename Kernel::Point_d;
using Construct_bbox_d = typename Kernel::Construct_bbox_d;
Expand Down

0 comments on commit 201f658

Please sign in to comment.