21 #pragma GCC diagnostic push 22 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" 24 #include <Eigen/Dense> 27 #pragma GCC diagnostic pop 44 using Point = std::tuple<double,double,const reco::ClusterHit3D*>;
59 Vertex() : fCoords(0.,0.,0.), fHalfEdge(NULL) {}
74 fCoords[0] = coords[0];
75 fCoords[1] = coords[1];
76 fCoords[2] = coords[2];
107 fClusterHit3D(clusterHit3D)
142 m_targetVertex(NULL),
144 m_twinHalfEdge(NULL),
145 m_nextHalfEdge(NULL),
154 m_targetVertex(vertex),
156 m_twinHalfEdge(twin),
157 m_nextHalfEdge(next),
void setFaceArea(double area)
const reco::ClusterHit3D * getClusterHit3D() const
Vertex()
Vertex class definition for use in a doubly connected edge list a Vertex will contain the coordinates...
HalfEdge * getLastHalfEdge() const
void setCoords(const Coords &coords)
HalfEdge * getNextHalfEdge() const
std::list< HalfEdge > HalfEdgeList
void setHalfEdge(HalfEdge *half)
const bool onConvexHull() const
Face(HalfEdge *half, const Coords &coords, const reco::ClusterHit3D *clusterHit3D)
Face class definition for use in a doubly connected edge list A Face represents the area enclosed by ...
HalfEdge * getTwinHalfEdge() const
HalfEdge * m_lastHalfEdge
HalfEdge * m_nextHalfEdge
Vertex(const double *coords, HalfEdge *half)
Vertex(const Coords &coords, HalfEdge *half)
void setLastHalfEdge(HalfEdge *last)
void setTwinHalfEdge(HalfEdge *twin)
HalfEdge()
HalfEdge class definition for use in a doubly connected edge list The half edge class represents one ...
std::list< Face > FaceList
const Coords & getCoords() const
const HalfEdge * getHalfEdge() const
void setNextHalfEdge(HalfEdge *next)
void setCoords(const double *coords)
HalfEdge(Vertex *vertex, Face *face, HalfEdge *twin, HalfEdge *next, HalfEdge *last)
void setHalfEdge(HalfEdge *half)
HalfEdge * m_twinHalfEdge
std::list< Point > PointList
Vertex * getTargetVertex() const
const HalfEdge * getHalfEdge() const
const double getFaceArea() const
const Coords & getCoords() const
const reco::ClusterHit3D * fClusterHit3D
std::list< Vertex > VertexList
void setTargetVertex(Vertex *vertex)