Some improvements to pruning and some additions here and there

This commit is contained in:
Alessandro Ranellucci 2014-03-05 18:43:01 +01:00
parent c2ed6090d3
commit 04d80ca392
6 changed files with 33 additions and 8 deletions

View file

@ -28,7 +28,7 @@ class MedialAxis {
typedef voronoi_diagram<double> VD;
VD vd;
std::set<const VD::edge_type*> edges;
Line edge_to_line(const VD::edge_type &edge);
Line edge_to_line(const VD::edge_type &edge) const;
void process_edge_neighbors(const voronoi_diagram<double>::edge_type& edge, Points* points);
bool is_valid_edge(const voronoi_diagram<double>::edge_type& edge) const;
Line retrieve_segment(const voronoi_diagram<double>::cell_type& cell) const;