15 namespace voronoi2d {
class BSTNode; }
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);}
bool operator<(const IEvent &right) const override
bool isValid() const override
Internal class definitions to facilitate construction of diagram.
std::list< SiteEvent > SiteEventList
bool isCircle() const override
std::list< CircleEvent > CircleEventList
const dcel2d::Coords & circleCenter() const override
void setInvalid() const override
Interface for configuring the particular algorithm tool.
BSTNode class definiton specifically for use in constructing Voronoi diagrams. We are trying to follo...
bool isCircle() const override
const dcel2d::Coords & circleCenter() const override
void setInvalid() const override
Interface for configuring the particular algorithm tool.
SiteEvent(const dcel2d::Point &point)
This defines "Site" events which are generated from the input points. This implements the "IEvent" in...
bool isSite() const override
BSTNode * getBSTNode() const override
double xPos() const override
void setBSTNode(BSTNode *node) override
const dcel2d::Coords & getCoords() const override
bool isSite() const override
dcel2d::Coords m_circleCenter
bool operator<(const IEvent &right) const override
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
void setBSTNode(BSTNode *node) override
bool isValid() const override
const dcel2d::Point & getPoint() const override
double xPos() const override
const dcel2d::Point & getPoint() const override
virtual double xPos() const =0
const dcel2d::Coords & getCoords() 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...
double yPos() const override
BEGIN_PROLOG don t mess with this pandoraTrackGausCryoW true
double yPos() const override
BSTNode * getBSTNode() const override