Coverage Control Library
|
Class for computing Voronoi cells. More...
#include <voronoi.h>
Public Member Functions | |
Voronoi () | |
Voronoi (PointVector const &sites, MapType const &map, Point2 map_size, double const &resolution, bool const compute_single=false, int const robot_id=0) | |
void | UpdateSites (PointVector const &sites) |
void | ComputeVoronoiCells () |
auto | GetVoronoiCells () const |
auto | GetVoronoiCell () |
double | GetSumIDFSiteDistSqr () |
double | GetSumIDFGoalDistSqr () |
Class for computing Voronoi cells.
This class contains the sites of the Voronoi cells and the map. It computes the Voronoi cells and stores the mass and centroid of each cell.
|
inline |
void ComputeVoronoiCells | ( | ) |
Definition at line 167 of file voronoi.cpp.
|
inline |