Small improvements to the (Regular)TriangulationTraits_2/3 concepts

This commit is contained in:
Mael Rouxel-Labbé 2017-05-02 17:28:11 +02:00
parent 42506237b2
commit f9b65eeac0
4 changed files with 18 additions and 18 deletions

View File

@ -18,13 +18,11 @@ of Delaunay triangulations.
\cgalRefines `TriangulationTraits_2`
\cgalHasModel All CGAL Kernels
\cgalHasModel `CGAL::Regular_triangulation_euclidean_traits_2`
\cgalHasModel All models of `Kernel`.
\sa `TriangulationTraits_2`
\sa `CGAL::Regular_triangulation_2`
*/
class RegularTriangulationTraits_2 {
public:
@ -93,6 +91,12 @@ power distance between `p` and `r`.
*/
typedef unspecified_type Compare_power_distance_2;
/// @}
/// \name
/// The following types/predicates are required to compute duals:
/// @{
/*!
A function object,
model of `Kernel::ConstructWeightedCircumcenter_2`,

View File

@ -10,12 +10,12 @@ provides the types of the geometric primitives used in the
triangulation and some function object types for the required
predicates on those primitives.
\cgalHasModel All the \cgal Kernels
\cgalHasModel All models of `Kernel`.
\cgalHasModel `CGAL::Projection_traits_xy_3<K>`
\cgalHasModel `CGAL::Projection_traits_yz_3<K>`
\cgalHasModel `CGAL::Projection_traits_xz_3<K>`
\sa `CGAL::Triangulation_2<Traits,Tds>`
\sa `CGAL::Triangulation_2`
*/

View File

@ -15,14 +15,15 @@ or the weighted point \f$ {p}^{(w)}=(p,w_p)\f$.
\cgalRefines `TriangulationTraits_3`
\cgalHasModel All models of `Kernel`.
\sa `CGAL::Regular_triangulation_3`
In addition to the requirements described for the traits class of
`CGAL::Triangulation_3`, the geometric traits class of
`CGAL::Regular_triangulation_3` must fulfill the following requirements.
\cgalHasModel All CGAL Kernels
*/
class RegularTriangulationTraits_3 {
public:
@ -124,7 +125,7 @@ typedef unspecified_type Power_side_of_oriented_power_sphere_3;
/*!
A predicate object,
model of `ComparePowerDistance_3`,
model of `Kernel::ComparePowerDistance_3`,
that must provide the function operator
`Comparison_result operator()(Point_3 p, Weighted_point_3 q, Weighted_point_3 r)`,

View File

@ -9,14 +9,9 @@ triangles and tetrahedra) forming the triangulation together with a few
geometric predicates and constructions on these objects : lexicographical
comparison, orientation in case of coplanar points and orientation in space.
\cgalHasModel CGAL::Exact_predicates_inexact_constructions_kernel (recommended)
\cgalHasModel CGAL::Exact_predicates_exact_constructions_kernel
\cgalHasModel CGAL::Filtered_kernel
\cgalHasModel CGAL::Cartesian
\cgalHasModel CGAL::Simple_cartesian
\cgalHasModel CGAL::Homogeneous
\cgalHasModel CGAL::Simple_homogeneous
\cgalHasModel All models of `Kernel`.
\sa `CGAL::Triangulation_3`
*/
class TriangulationTraits_3 {