46 bool isSite()
const override {
return std::get<2>(*this) != NULL;}
47 bool isCircle()
const override {
return std::get<2>(*this) == NULL;}
83 bool isSite()
const override {
return std::get<2>(*this) != NULL;}
84 bool isCircle()
const override {
return std::get<2>(*this) == NULL;}
87 double xPos()
const override {
return std::get<0>(*this);}
88 double yPos()
const override {
return std::get<1>(*this);}
const dcel2d::Coords & circleCenter() const override
double yPos() const override
const dcel2d::Point & getPoint() const override
BSTNode * getBSTNode() const override
double xPos() const override
Internal class definitions to facilitate construction of diagram.
bool isSite() const override
std::list< SiteEvent > SiteEventList
void setInvalid() const override
Interface for configuring the particular algorithm tool.
std::list< CircleEvent > CircleEventList
BSTNode class definiton specifically for use in constructing Voronoi diagrams. We are trying to follo...
BSTNode * getBSTNode() const override
const dcel2d::Point & getPoint() const override
SiteEvent(const dcel2d::Point &point)
This defines "Site" events which are generated from the input points. This implements the "IEvent" in...
bool isCircle() const override
bool isCircle() const override
double xPos() const override
const dcel2d::Coords & getCoords() const override
void setInvalid() const override
Interface for configuring the particular algorithm tool.
bool isValid() const override
void setBSTNode(BSTNode *node) override
const dcel2d::Coords & circleCenter() const override
bool isValid() const override
dcel2d::Coords m_circleCenter
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
void setBSTNode(BSTNode *node) override
bool isSite() const override
virtual double xPos() const =0
double yPos() const override
bool operator<(const IEvent &right) const override
bool operator<(const IEvent &right) const override
CircleEvent(const dcel2d::Point &point, const dcel2d::Coords ¢er)
This defines "Circle" events which are generated during the "sweep" of the beach line and define when...
const dcel2d::Coords & getCoords() const override