#ifndef ROOT_TEllipse
#define ROOT_TEllipse
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif
class TEllipse : public TObject, public TAttLine, public TAttFill {
protected:
Double_t fX1;
Double_t fY1;
Double_t fR1;
Double_t fR2;
Double_t fPhimin;
Double_t fPhimax;
Double_t fTheta;
public:
enum {
kNoEdges = BIT(9)
};
TEllipse();
TEllipse(Double_t x1, Double_t y1,Double_t r1,Double_t r2=0,Double_t phimin=0, Double_t phimax=360,Double_t theta=0);
TEllipse(const TEllipse &ellipse);
virtual ~TEllipse();
void Copy(TObject &ellipse) const;
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t *option="");
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="");
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
Double_t GetX1() const {return fX1;}
Double_t GetY1() const {return fY1;}
Double_t GetR1() const {return fR1;}
Double_t GetR2() const {return fR2;}
Double_t GetPhimin() const {return fPhimin;}
Double_t GetPhimax() const {return fPhimax;}
Double_t GetTheta() const {return fTheta;}
Bool_t GetNoEdges() const;
virtual void ls(Option_t *option="") const;
virtual void Paint(Option_t *option="");
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="");
virtual void Print(Option_t *option="") const;
virtual void SavePrimitive(ostream &out, Option_t *option = "");
virtual void SetNoEdges(Bool_t noEdges=kTRUE);
virtual void SetPhimin(Double_t phi=0) {fPhimin=phi;}
virtual void SetPhimax(Double_t phi=360) {fPhimax=phi;}
virtual void SetR1(Double_t r1) {fR1=r1;}
virtual void SetR2(Double_t r2) {fR2=r2;}
virtual void SetTheta(Double_t theta=0) {fTheta=theta;}
virtual void SetX1(Double_t x1) {fX1=x1;}
virtual void SetY1(Double_t y1) {fY1=y1;}
ClassDef(TEllipse,2)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.