mirror of https://github.com/CGAL/cgal
Add Compute_weight_2/3 concepts and models to the doc
This commit is contained in:
parent
85146b88d6
commit
1ad7bfa202
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in New Issue