Logo ROOT   6.18/05
Reference Guide
TArc.h
Go to the documentation of this file.
1// @(#)root/graf:$Id$
2// Author: Rene Brun 16/10/95
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TArc
13#define ROOT_TArc
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TArc //
19// //
20// Arc of a circle. //
21// //
22//////////////////////////////////////////////////////////////////////////
23
24#include "Rtypes.h"
25#include "TEllipse.h"
26
27
28class TArc : public TEllipse {
29
30public:
31 TArc();
33 , Double_t phimin=0,Double_t phimax=360);
34 TArc(const TArc &arc);
35 virtual ~TArc();
36 void Copy(TObject &arc) const;
37 virtual void DrawArc(Double_t x1, Double_t y1, Double_t radius
38 ,Double_t phimin=0, Double_t phimax=360, Option_t *option="");
39 virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
40
41 ClassDef(TArc,1) //Arc of a circle
42};
43
44#endif
static const double x1[5]
double Double_t
Definition: RtypesCore.h:55
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
Create an Arc.
Definition: TArc.h:28
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TArc.cxx:91
virtual ~TArc()
Arc default destructor.
Definition: TArc.cxx:64
TArc()
Arc default constructor.
Definition: TArc.cxx:32
virtual void DrawArc(Double_t x1, Double_t y1, Double_t radius, Double_t phimin=0, Double_t phimax=360, Option_t *option="")
Draw this arc with new coordinates.
Definition: TArc.cxx:79
void Copy(TObject &arc) const
Copy this arc to arc.
Definition: TArc.cxx:71
Draw Ellipses.
Definition: TEllipse.h:24
Mother of all ROOT objects.
Definition: TObject.h:37