ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
graf2d
graf
inc
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
#ifndef ROOT_TEllipse
25
#include "
TEllipse.h
"
26
#endif
27
28
29
class
TArc
:
public
TEllipse
{
30
31
public
:
32
TArc
();
33
TArc
(
Double_t
x1
,
Double_t
y1,
Double_t
radius
34
,
Double_t
phimin=0,
Double_t
phimax=360);
35
TArc
(
const
TArc
&arc);
36
virtual
~TArc
();
37
void
Copy
(
TObject
&arc)
const
;
38
virtual
void
DrawArc
(
Double_t
x1,
Double_t
y1,
Double_t
radius
39
,
Double_t
phimin=0,
Double_t
phimax=360,
Option_t
*option=
""
);
40
virtual
void
SavePrimitive
(std::ostream &
out
,
Option_t
*option =
""
);
41
42
ClassDef
(
TArc
,1)
//Arc of a circle
43
};
44
45
#endif
TArc::DrawArc
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
TEllipse.h
TAttBBox2D::ClassDef
ClassDef(TAttBBox2D, 0)
Option_t
const char Option_t
Definition:
RtypesCore.h:62
TArc::Copy
void Copy(TObject &arc) const
Copy this arc to arc.
Definition:
TArc.cxx:71
TArc::~TArc
virtual ~TArc()
Arc default destructor.
Definition:
TArc.cxx:64
out
char * out
Definition:
TBase64.cxx:29
TArc
Create an Arc.
Definition:
TArc.h:29
x1
static const double x1[5]
Definition:
RooGaussKronrodIntegrator1D.cxx:326
Double_t
double Double_t
Definition:
RtypesCore.h:55
TEllipse
Draw Ellipses.
Definition:
TEllipse.h:44
TObject
Mother of all ROOT objects.
Definition:
TObject.h:58
TArc::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition:
TArc.cxx:91
TArc::TArc
TArc()