Add Compute_weight_2/3 concepts and models to the doc

This commit is contained in:
Andreas Fabri 2016-09-05 16:14:39 +02:00 committed by Jane Tournois
parent 85146b88d6
commit 1ad7bfa202
3 changed files with 58 additions and 0 deletions

View File

@ -2808,6 +2808,52 @@ public:
}; /* end Kernel::ComputeVolume_3 */
/*!
\ingroup PkgKernel23ConceptsFunctionObjects
\cgalConcept
\cgalRefines `AdaptableFunctor`
*/
class ComputeWeight_2 {
public:
/// \name Operations
/// A model of this concept must provide:
/// @{
/*!
returns the weight of the weighted point.
*/
Kernel::FT operator()(const Kernel::WeightedPoint_2& p) const;
}; /* end Kernel::ComputeWeight_2
/*!
\ingroup PkgKernel23ConceptsFunctionObjects
\cgalConcept
\cgalRefines `AdaptableFunctor`
*/
class ComputeWeight_3 {
public:
/// \name Operations
/// A model of this concept must provide:
/// @{
/*!
returns the weight of the weighted point.
*/
Kernel::FT operator()(const Kernel::WeightedPoint_3& p) const;
}; /* end Kernel::ComputeWeight_3
/*!
\ingroup PkgKernel23ConceptsFunctionObjects
\cgalConcept

View File

@ -422,6 +422,11 @@ public:
*/
typedef unspecified_type Assign_2;
/*!
a model of `Kernel::ComputeWeight_2`
*/
typedef unspecified_type Compute_weight_2;
/*!
a model of `Kernel::ComputeX_2`
*/
@ -1123,6 +1128,11 @@ public:
*/
typedef unspecified_type Assign_3;
/*!
a model of `Kernel::ComputeWeight_3`
*/
typedef unspecified_type Compute_weight_3;
/*!
a model of `Kernel::ComputeX_3`
*/

View File

@ -316,6 +316,8 @@
- `Kernel::ComputeSquaredRadius_2`
- `Kernel::ComputeSquaredRadius_3`
- `Kernel::ComputeVolume_3`
- `Kernel::ComputeWeight_2`
- `Kernel::ComputeWeight_3`
- `Kernel::ComputeX_2`
- `Kernel::ComputeX_3`
- `Kernel::ComputeY_2`