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