mirror of https://github.com/CGAL/cgal
Introduced the concep ArrTraits::ConstructCurve_2 (required by `ArraangementConstructCurveTraits_2 concept)
This commit is contained in:
parent
2200314849
commit
1d91eb1f88
|
|
@ -0,0 +1,26 @@
|
|||
namespace ArrTraits {
|
||||
|
||||
/*! \ingroup PkgArrangementOnSurface2ConceptsFunctionObjects
|
||||
* \cgalConcept
|
||||
*
|
||||
* \cgalRefines Functor
|
||||
*
|
||||
* \cgalHasModel ArrangementConstructCurveTraits_2::Construct_curve_2
|
||||
*/
|
||||
class ConstructCurve_2 {
|
||||
public:
|
||||
|
||||
/// \name Operations
|
||||
/// A model of this concept must provide:
|
||||
/// @{
|
||||
|
||||
/*! returns a curve connecting `p1` and `p2` (i.e., the
|
||||
* two input points are its endpoints).
|
||||
*/
|
||||
ArrTraits::Curve_2 operator()(ArrTraits::Point_2 p1, ArrTraits::Point_2 p2);
|
||||
|
||||
/// @}
|
||||
|
||||
}; /* end ArrTraits::ConstructCurve_2 */
|
||||
|
||||
}
|
||||
|
|
@ -23,7 +23,7 @@ public:
|
|||
/// \name Functor Types
|
||||
/// @{
|
||||
|
||||
/*! models the concept `ArrTraits::ConstructXMonotoneCurve_2`.
|
||||
/*! models the concept `ArrTraits::ConstructCurve_2`.
|
||||
*/
|
||||
typedef unspecified_type Construct_curve_2;
|
||||
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ implemented as peripheral classes or as free (global) functions.
|
|||
- `ArrTraits::MakeXMonotone_2`
|
||||
- `ArrTraits::Approximate_2`
|
||||
- `ArrTraits::ConstructXMonotoneCurve_2`
|
||||
- `ArrTraits::ConstructCurve_2`
|
||||
|
||||
\cgalCRPSection{Classes}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue