CGAL 4.8.2 - 2D Polyline Simplification
|
CGAL | |
Polyline_simplification_2 | |
Stop_below_count_threshold | This class is a stop predicate returning true when the number of vertices is smaller than a certain threshold |
Squared_distance_cost | This class is a cost function which calculates the cost as the square of the distance between the original and simplified polylines |
Stop_above_cost_threshold | This class is a stop predicate returning true when the cost for simplifying a vertex is greater than a certain threshold |
Stop_below_count_ratio_threshold | This class is a stop predicate returning true when the percentage of remaning vertices is smaller than a certain threshold |
Hybrid_squared_distance_cost | This class is a cost function which calculates the cost as the square of the distance between the original and simplified polylines, possibly scaled based on a factor |
Vertex_base_2 | A vertex base class with data members needed by the simplification algorithm |
Polyline_simplification_2 | |
Compare_cost | |
Id_map | |
Scaled_squared_distance_cost | This class is a cost function which calculates the cost as a scaled variant of the square of the distance between the original and simplified polylines |
PolylineSimplificationCostFunction | Models of this concept are passed to the polyline simplification algorithm to calculate the cost of removing a vertex. Such a cost represents some measure of the deviation error between the polyline sets before and after removal. The smaller the error the lower the cost. The algorithm processes vertices in increasing cost order to preserve the overall polyline set shape as much as possible |
PolylineSimplificationStopPredicate | Models of this concept are passed to the polyline simplification algorithm to indicate when to stop the process |
PolylineSimplificationVertexBase_2 | The polyline simplification algorithm stores in the vertices whether a vertex can be removed, and the cost of the removal |