Public Member Functions | Private Attributes | List of all members
dcel2d::Face Class Reference

#include <DCEL.h>

Public Member Functions

 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 a set of half edges and vertices. It simply needs to store a pointer to one of the half edges to be able to recover all. More...
 
const HalfEdgegetHalfEdge () const
 
const bool onConvexHull () const
 
const CoordsgetCoords () const
 
const double getFaceArea () const
 
const reco::ClusterHit3DgetClusterHit3D () const
 
void setHalfEdge (HalfEdge *half)
 
void setOnConvexHull ()
 
void setFaceArea (double area)
 

Private Attributes

HalfEdgefHalfEdge
 
bool fConvexHull
 
Coords fCoords
 
double fFaceArea
 
const reco::ClusterHit3DfClusterHit3D
 

Detailed Description

Definition at line 88 of file DCEL.h.

Constructor & Destructor Documentation

dcel2d::Face::Face ( HalfEdge half,
const Coords coords,
const reco::ClusterHit3D clusterHit3D 
)
inline

Face class definition for use in a doubly connected edge list A Face represents the area enclosed by a set of half edges and vertices. It simply needs to store a pointer to one of the half edges to be able to recover all.

Constructor

Definition at line 102 of file DCEL.h.

102  :
103  fHalfEdge(half),
104  fConvexHull(false),
105  fCoords(coords),
106  fFaceArea(0.),
107  fClusterHit3D(clusterHit3D)
108  {}
HalfEdge * fHalfEdge
Definition: DCEL.h:121
double fFaceArea
Definition: DCEL.h:124
Coords fCoords
Definition: DCEL.h:123
bool fConvexHull
Definition: DCEL.h:122
const reco::ClusterHit3D * fClusterHit3D
Definition: DCEL.h:125

Member Function Documentation

const reco::ClusterHit3D* dcel2d::Face::getClusterHit3D ( ) const
inline

Definition at line 114 of file DCEL.h.

114 {return fClusterHit3D;}
const reco::ClusterHit3D * fClusterHit3D
Definition: DCEL.h:125
const Coords& dcel2d::Face::getCoords ( ) const
inline

Definition at line 112 of file DCEL.h.

112 {return fCoords;}
Coords fCoords
Definition: DCEL.h:123
const double dcel2d::Face::getFaceArea ( ) const
inline

Definition at line 113 of file DCEL.h.

113 {return fFaceArea;}
double fFaceArea
Definition: DCEL.h:124
const HalfEdge* dcel2d::Face::getHalfEdge ( ) const
inline

Definition at line 110 of file DCEL.h.

110 {return fHalfEdge;}
HalfEdge * fHalfEdge
Definition: DCEL.h:121
const bool dcel2d::Face::onConvexHull ( ) const
inline

Definition at line 111 of file DCEL.h.

111 {return fConvexHull;}
bool fConvexHull
Definition: DCEL.h:122
void dcel2d::Face::setFaceArea ( double  area)
inline

Definition at line 118 of file DCEL.h.

118 {fFaceArea = area;}
double fFaceArea
Definition: DCEL.h:124
void dcel2d::Face::setHalfEdge ( HalfEdge half)
inline

Definition at line 116 of file DCEL.h.

116 {fHalfEdge = half;}
HalfEdge * fHalfEdge
Definition: DCEL.h:121
void dcel2d::Face::setOnConvexHull ( )
inline

Definition at line 117 of file DCEL.h.

117 {fConvexHull = true;}
bool fConvexHull
Definition: DCEL.h:122

Member Data Documentation

const reco::ClusterHit3D* dcel2d::Face::fClusterHit3D
private

Definition at line 125 of file DCEL.h.

bool dcel2d::Face::fConvexHull
mutableprivate

Definition at line 122 of file DCEL.h.

Coords dcel2d::Face::fCoords
private

Definition at line 123 of file DCEL.h.

double dcel2d::Face::fFaceArea
private

Definition at line 124 of file DCEL.h.

HalfEdge* dcel2d::Face::fHalfEdge
private

Definition at line 121 of file DCEL.h.


The documentation for this class was generated from the following file: