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