mirror of https://github.com/CGAL/cgal
No need for PolylineSimplificationTraits_2
This commit is contained in:
parent
b85f97593a
commit
c5aa594388
|
|
@ -32,7 +32,7 @@ Given a vertex in constraint iterator `viq` computes `vip=std::prev(viq)` and `v
|
||||||
|
|
||||||
\tparam CDT must be `CGAL::Constrained_Delaunay_triangulation_2` with a vertex type that
|
\tparam CDT must be `CGAL::Constrained_Delaunay_triangulation_2` with a vertex type that
|
||||||
is model of `PolylineSimplificationVertexBase_2`. `CDT::Geom_traits` must be model of
|
is model of `PolylineSimplificationVertexBase_2`. `CDT::Geom_traits` must be model of
|
||||||
the concept `PolylineSimplificationTraits_2`.
|
the concept `ConstrainedDelaunayTriangulationTraits_2`.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
template <typename CDT>
|
template <typename CDT>
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
|
|
||||||
/*!
|
|
||||||
\ingroup PkgPolylineSimplification2Concepts
|
|
||||||
\cgalConcept
|
|
||||||
|
|
||||||
The concept gives the required predicates and constructions
|
|
||||||
for the polyline simplification.
|
|
||||||
|
|
||||||
\cgalRefines `ConstrainedDelaunayTriangulationTraits_2`
|
|
||||||
|
|
||||||
\cgalHasModel All \cgal Kernels
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
class PolylineSimplificationTraits_2 {
|
|
||||||
public:
|
|
||||||
|
|
||||||
/*!
|
|
||||||
A function object to compute a squared distance for two points.
|
|
||||||
Provides the operator:
|
|
||||||
|
|
||||||
`unspecified_type operator()(Point_2 p, Point_2 q)`
|
|
||||||
which returns the squared distance between `p` and `q`.
|
|
||||||
*/
|
|
||||||
typedef unspecified_type Compute_squared_distance_2;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
## Concepts ##
|
## Concepts ##
|
||||||
|
|
||||||
- `PolylineSimplificationTraits_2`
|
|
||||||
- `PolylineSimplificationCostFunction`
|
- `PolylineSimplificationCostFunction`
|
||||||
- `PolylineSimplificationStopPredicate`
|
- `PolylineSimplificationStopPredicate`
|
||||||
- `PolylineSimplificationVertexBase_2`
|
- `PolylineSimplificationVertexBase_2`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue