Add concept

This commit is contained in:
Andreas Fabri 2013-04-18 20:13:34 +02:00
parent 9bf11ac100
commit f5018374ee
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
/*!
\ingroup PkgPolylineSimplification2Concepts
\cgalConcept
Thr polyline simplification algorithm stores in the vertices
whether a vertex can be removed, and the cost of the removal.
\cgalRefines `TriangulationVertexBase_2`
### Types ###
Defines the same types as the `TriangulationVertexBase_2` concept
\cgalHasModel `CGAL::Polyline_simplification_2::Vertex_base_2<Vb>`
\sa `TriangulationFaceBase_2`
\sa `CGAL::Polyline_constrained_triangulation_2<CDT>`
*/
class PolylineSimplificationVertexBase_2 {
public:
/// A number type.
typedef Hidden_type FT;
/// \name Access Functions
/// @{
/*! The Boolean that indicates whether the vertex can be removed.
*/
bool& unremovable();
/*! The cost if the vertex got removed.
*/
FT& cost();
/// @}
}; /* end PolylineSimplificationVertexBase_2 */