Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TArc.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/graf:$Id$
0002 // Author: Rene Brun   16/10/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TArc
0013 #define ROOT_TArc
0014 
0015 
0016 //////////////////////////////////////////////////////////////////////////
0017 //                                                                      //
0018 // TArc                                                                 //
0019 //                                                                      //
0020 // Arc of a circle.                                                     //
0021 //                                                                      //
0022 //////////////////////////////////////////////////////////////////////////
0023 
0024 #include "TEllipse.h"
0025 
0026 class TArc : public TEllipse {
0027 
0028 public:
0029    TArc();
0030    TArc(Double_t x1, Double_t y1,Double_t radius
0031       , Double_t phimin=0,Double_t phimax=360);
0032    TArc(const TArc &arc);
0033    ~TArc() override;
0034 
0035    void Copy(TObject &arc) const override;
0036    virtual TArc *DrawArc(Double_t x1, Double_t y1, Double_t radius
0037                        ,Double_t  phimin=0, Double_t  phimax=360, Option_t *option="");
0038    void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0039 
0040    ClassDefOverride(TArc,1)  //Arc of a circle
0041 };
0042 
0043 #endif