Skip to content

Commit

Permalink
Add concept
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Jun 14, 2024
1 parent 27cccc8 commit 2a17b4d
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*!
\ingroup PkgPolylineDistanceConcepts
\cgalConcept
The concept `PolylineDistanceTraits` defines the requirements ...
\cgalHasModelsBegin
\cgalHasModels{CGAL::Polyline_distance_traits_2}
\cgalHasModels{CGAL::Polyline_distance_traits_3}
\cgalHasModels{CGAL::Polyline_distance_traits_d}
\cgalHasModelsEnd
*/

class PolylineDistanceTraits {

public:
/*! 2 or 3 */
const int dimension;

/// \name Types
/// @{

/*! The kernel type. If this type has a nested type `Has_filtered_predicates_tag` with `value == true`,
it must have a nested type `Exact_kernel`, and a nested type `C2E` with an `operator()` that converts
a point of `Kernel` to a point of `Exact_kernel`. Otherwise, it must have a nested type `FT` for
which an overload of `to_double()` exists.
*/
using Kernel = unspecified;

/*! The point type of `Kernel` corresponding to `dimension`
*/
using Point = unspecified_type;

/// @}
};

0 comments on commit 2a17b4d

Please sign in to comment.