46 bool isSite()
const override {
return std::get<2>(*this) != NULL; }
47 bool isCircle()
const override {
return std::get<2>(*this) == NULL; }
74 m_circleCenter = center;
81 bool isSite()
const override {
return std::get<2>(*this) != NULL; }
82 bool isCircle()
const override {
return std::get<2>(*this) == NULL; }
85 double xPos()
const override {
return std::get<0>(*this); }
86 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
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
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
void setBSTNode(BSTNode *node) override
bool isSite() const override
virtual double xPos() const =0
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
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