From 2fe6e1224bc691f61b826c74e1f13a94c9382f07 Mon Sep 17 00:00:00 2001 From: Weisheng Si Date: Fri, 11 Dec 2015 10:03:56 +1100 Subject: [PATCH] Using 'Traits' instead of 'ConeBasedSpannerTraits_2' as the template paramter. --- .../Concepts/ConeBasedSpannerTraits_2.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Cone_spanners_2/doc/Cone_spanners_2/Concepts/ConeBasedSpannerTraits_2.h b/Cone_spanners_2/doc/Cone_spanners_2/Concepts/ConeBasedSpannerTraits_2.h index 959bf658ead..fc23fbdfce7 100644 --- a/Cone_spanners_2/doc/Cone_spanners_2/Concepts/ConeBasedSpannerTraits_2.h +++ b/Cone_spanners_2/doc/Cone_spanners_2/Concepts/ConeBasedSpannerTraits_2.h @@ -3,12 +3,11 @@ \cgalConcept The functors provided in this package for constructing cones and cone-based spanners -all have a template parameter `ConeBasedSpannerTraits_2`. To specify the requirements -for the models (i.e., the various kernels from CGAL) that can be passed to -this parameter, we document a concept also called -`ConeBasedSpannerTraits_2` here. Basically, this concept -specifies all the types and primitives (predicates and construction objects) that -the model should include to make the functors work properly. +all have a template parameter `Traits`. To specify the requirements +for the models (typically the kernels from CGAL) that can be passed to +this parameter, we document a concept called `ConeBasedSpannerTraits_2` here. +Basically, this concept specifies all the types and primitives (predicates and construction objects) +that the model should have to make the functors work properly. It is recommended that if you want to construct the cones or the cone-based spanners exactly, you should use the kernel `CGAL::Exact_predicates_exact_constructions_kernel_with_root_of`; and if you want to construct them inexactly, you should use the kernel @@ -19,7 +18,7 @@ and if you want to construct them inexactly, you should use the kernel */ -class ConeBasedSpannerTraits { +class ConeBasedSpannerTraits_2 { public: /// \name Types @@ -94,4 +93,4 @@ Comparison_result CGAL::compare_signed_distance_to_line( const CGAL::Point_2 &q); /// @} -}; /* end ConeBasedSpannerTraits */ +}; /* end ConeBasedSpannerTraits_2 */