-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
Polyline_distance/doc/Polyline_distance/Concepts/PolylineDistanceTraits.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
/// @} | ||
}; |