CGAL 4.7 - 2D Polyline Simplification
|
#include <CGAL/Polyline_simplification_2/simplify.h>
Classes | |
struct | Compare_cost |
struct | Id_map |
Public Types | |
typedef PCT::Point | Point |
typedef PCT::Constraint_id | Constraint_id |
typedef PCT::Constraint_iterator | Constraint_iterator |
typedef PCT::Vertices_in_constraint_iterator | Vertices_in_constraint_iterator |
typedef PCT::Vertex_handle | Vertex_handle |
typedef PCT::Vertex_circulator | Vertex_circulator |
typedef PCT::Geom_traits::FT | FT |
typedef CGAL::Modifiable_priority_queue < Vertices_in_constraint_iterator, Compare_cost, Id_map > | MPQ |
Public Member Functions | |
Polyline_simplification_2 (PCT &pct, CostFunction cost, StopFunction stop) | |
Polyline_simplification_2 (PCT &pct, Constraint_id cid, CostFunction cost, StopFunction stop) | |
~Polyline_simplification_2 () | |
void | initialize_unremovable () |
int | initialize_costs (Constraint_id cid) |
void | initialize_costs () |
bool | is_removable (Vertices_in_constraint_iterator it) |
int | initialize_indices (Constraint_id cid, int id=0) |
int | initialize_indices () |
bool | operator() () |
std::size_t | number_of_removed_vertices () const |
Public Attributes | |
PCT & | pct |
CostFunction | cost |
StopFunction | stop |
std::size_t | pct_initial_number_of_vertices |
std::size_t | number_of_unremovable_vertices |
MPQ * | mpq |
typedef PCT::Constraint_id CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Constraint_id |
typedef PCT::Constraint_iterator CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Constraint_iterator |
typedef PCT::Geom_traits::FT CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::FT |
typedef CGAL::Modifiable_priority_queue<Vertices_in_constraint_iterator,Compare_cost,Id_map> CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::MPQ |
typedef PCT::Point CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Point |
typedef PCT::Vertex_circulator CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Vertex_circulator |
typedef PCT::Vertex_handle CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Vertex_handle |
typedef PCT::Vertices_in_constraint_iterator CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Vertices_in_constraint_iterator |
CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Polyline_simplification_2 | ( | PCT & | pct, |
CostFunction | cost, | ||
StopFunction | stop | ||
) |
CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::Polyline_simplification_2 | ( | PCT & | pct, |
Constraint_id | cid, | ||
CostFunction | cost, | ||
StopFunction | stop | ||
) |
CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::~Polyline_simplification_2 | ( | ) |
int CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::initialize_costs | ( | Constraint_id | cid | ) |
void CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::initialize_costs | ( | ) |
int CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::initialize_indices | ( | Constraint_id | cid, |
int | id = 0 |
||
) |
int CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::initialize_indices | ( | ) |
void CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::initialize_unremovable | ( | ) |
bool CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::is_removable | ( | Vertices_in_constraint_iterator | it | ) |
std::size_t CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::number_of_removed_vertices | ( | ) | const |
bool CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::operator() | ( | ) |
CostFunction CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::cost |
MPQ* CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::mpq |
std::size_t CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::number_of_unremovable_vertices |
PCT& CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::pct |
std::size_t CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::pct_initial_number_of_vertices |
StopFunction CGAL::Polyline_simplification_2::Polyline_simplification_2< PCT, CostFunction, StopFunction >::stop |