25 #ifndef ROOT_TAttBBox2D virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Double_t GetPhimax() const
virtual void PaintEllipse(Double_t x1, Double_t y1, Double_t r1, Double_t r2, Double_t phimin, Double_t phimax, Double_t theta, Option_t *option="")
Draw this ellipse with new coordinates.
virtual void DrawEllipse(Double_t x1, Double_t y1, Double_t r1, Double_t r2, Double_t phimin, Double_t phimax, Double_t theta, Option_t *option="")
Draw this ellipse with new coordinates.
Double_t GetTheta() const
Double_t fX1
X coordinate of centre.
Double_t fY1
Y coordinate of centre.
virtual void ls(Option_t *option="") const
List this ellipse with its attributes.
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the center of the Ellipse.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
TEllipse()
Ellipse default constructor.
virtual void SetTheta(Double_t theta=0)
virtual void SetPhimax(Double_t phi=360)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to an ellipse.
virtual void SetBBoxX1(const Int_t x)
Set left hand side of BoundingBox to a value (resize in x direction on left)
virtual void SetR1(Double_t r1)
virtual void Paint(Option_t *option="")
Paint this ellipse with its current attributes.
Fill Area Attributes class.
#define ClassDef(name, id)
virtual void SetBBoxY1(const Int_t y)
Set top of BoundingBox to a value (resize in y direction on top)
virtual void SetNoEdges(Bool_t noEdges=kTRUE)
if noEdges = kTRUE the lines connecting the center to the edges will not be drawn.
virtual void Draw(Option_t *option="")
Draw this ellipse with its current attributes.
Double_t fTheta
Rotation angle (degrees)
Double_t fPhimax
Maximum angle (degrees)
virtual void SetY1(Double_t y1)
virtual void SetBBoxX2(const Int_t x)
Set right hand side of BoundingBox to a value (resize in x direction on right)
virtual void SetBBoxCenterY(const Int_t y)
Set Y coordinate of the center of the Ellipse.
virtual void Print(Option_t *option="") const
Dump this ellipse with its attributes.
virtual void SetX1(Double_t x1)
unsigned int r1[N_CITIES]
virtual void SetR2(Double_t r2)
Double_t fR2
second radius
virtual void SetPhimin(Double_t phi=0)
virtual ~TEllipse()
Ellipse default destructor.
static const double x1[5]
virtual TPoint GetBBoxCenter()
Return the center of the Ellipse as TPoint in pixels.
virtual void SetBBoxCenter(const TPoint &p)
Set center of the Ellipse.
Mother of all ROOT objects.
void Copy(TObject &ellipse) const
Copy this ellipse to ellipse.
Abstract base class for elements drawn in the editor.
virtual void SetBBoxY2(const Int_t y)
Set bottom of BoundingBox to a value (resize in y direction on bottom)
virtual Rectangle_t GetBBox()
Return the bounding Box of the Ellipse, currently not taking into account the rotating angle...
Bool_t GetNoEdges() const
Return kTRUE if kNoEdges bit is set, kFALSE otherwise.
Double_t GetPhimin() const
Double_t fPhimin
Minimum angle (degrees)
unsigned int r2[N_CITIES]