CGAL 5.4.5 - 2D Polyline Simplification
PolylineSimplificationVertexBase_2 Concept Reference

Definition

The polyline simplification algorithm stores in the vertices whether a vertex can be removed, and the cost of the removal.

Refines:
TriangulationVertexBase_2
Has Models:
CGAL::Polyline_simplification_2::Vertex_base_2<Vb>
See also
TriangulationFaceBase_2
CGAL::Constrained_triangulation_plus_2<Tr>

Public Types

typedef unspecified_type FT
 A number type which must be the same as the FT of the geometric traits class of the triangulation.
 

Access Functions

bool is_removable () const
 indicates whether the vertex can be removed.
 
void set_removable (bool b)
 allows to set whether the vertex can be removed.
 
FT cost () const
 returns the cost of the vertex removal.
 
void set_cost (const FT &ft)
 allows to set the cost of the vertex removal.