#include <JetVoronoiDiagramHelpers.h>
Public Member Functions | |
Diagram (const std::string &name) | |
StatusCode | initialize () |
float | getCellArea (const coord x, const coord y) const |
size_t | findPointIndex (const Point &a) const |
void | clearDiagram () |
StatusCode | createVoronoiDiagram () |
Point | interpolateInfinityVertex (const int i_a, const int i_b) |
bool | checkSameNumber (double in, double out, const std::string &description) |
StatusCode | checkStatus (const VoronoiBoost &vd, size_t n_cells_processed) |
double | intersectionAndArea (JetVoronoiDiagramHelpers::Polygon const &geo1, JetVoronoiDiagramHelpers::Polygon const &geo2, JetVoronoiDiagramHelpers::Polygon &out) |
Public Attributes | |
double | m_x_min |
double | m_x_max |
double | m_y_min |
double | m_y_max |
double | m_scaleIntFloat |
Polygon | m_borders |
Polygon | m_voro_vtx |
std::vector< double > | m_area_cells |
double | m_area_borders |
size_t | m_N_points |
Tool for calculating and storing diagram.
StatusCode JetVoronoiDiagramHelpers::Diagram::initialize | ( | void | ) | [virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.