11 #ifndef ROOT_TCurlyArc 12 #define ROOT_TCurlyArc
virtual void SetPhimax(Double_t phimax)
Set Curly Arc maximum Phi.
virtual void SetCenter(Double_t x1, Double_t y1)
Set Curly Arc center.
Double_t GetPhimin() const
static Double_t fgDefaultWaveLength
default wavelength
static Double_t GetDefaultAmplitude()
Get default wave amplitude.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
static Bool_t GetDefaultIsCurly()
Get default "IsCurly".
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to an arc.
static void SetDefaultIsCurly(Bool_t IsCurly)
Set default "IsCurly".
static Double_t GetDefaultWaveLength()
Get default wave length.
virtual void SetBBoxX2(const Int_t x)
Set right hand side of BoundingBox to a value (resize in x direction on right)
static Bool_t fgDefaultIsCurly
default curly type
Double_t fR1
Radius of arc.
#define ClassDef(name, id)
Implements curly or wavy polylines used to draw Feynman diagrams.
Double_t GetPhimax() const
virtual void SetBBoxY1(const Int_t y)
Set top of BoundingBox to a value (resize in y direction on top)
virtual void SetRadius(Double_t radius)
Set Curly Arc radius.
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the center of the BoundingBox.
static Double_t fgDefaultAmplitude
default amplitude
virtual void SetBBoxY2(const Int_t y)
Set bottom of BoundingBox to a value (resize in y direction on bottom)
virtual void Build()
Create a curly (Gluon) or wavy (Gamma) arc.
virtual void SetPhimin(Double_t phimin)
Set Curly Arc minimum Phi.
virtual Rectangle_t GetBBox()
Return the bounding Box of the Line.
static void SetDefaultAmplitude(Double_t Amplitude)
Set default wave amplitude.
Double_t fPhimin
start phi (degrees)
Double_t GetRadius() const
virtual TPoint GetBBoxCenter()
Return the center of the BoundingBox as TPoint in pixels.
TCurlyArc()
Default constructor.
virtual void SetBBoxX1(const Int_t x)
Set left hand side of BoundingBox to a value (resize in x direction on left)
static const double x1[5]
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save primitive as a C++ statement(s) on output stream out.
Double_t fPhimax
end phi (degrees)
Double_t fTheta
used internally
virtual void SetBBoxCenter(const TPoint &p)
Set center of the BoundingBox.
static void SetDefaultWaveLength(Double_t WaveLength)
Set default wave length.
Implements curly or wavy arcs used to draw Feynman diagrams.
virtual void SetBBoxCenterY(const Int_t y)
Set Y coordinate of the center of the BoundingBox.