ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
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 "
TEllipse.h
"
25
26
class
TArc
:
public
TEllipse
{
27
28
public
:
29
TArc
();
30
TArc
(
Double_t
x1,
Double_t
y1,
Double_t
radius
31
,
Double_t
phimin=0,
Double_t
phimax=360);
32
TArc
(
const
TArc
&arc);
33
~TArc
()
override
;
34
35
void
Copy
(
TObject
&arc)
const override
;
36
virtual
TArc
*
DrawArc
(
Double_t
x1,
Double_t
y1,
Double_t
radius
37
,
Double_t
phimin=0,
Double_t
phimax=360,
Option_t
*option=
""
);
38
void
SavePrimitive
(std::ostream &out,
Option_t
*option =
""
)
override
;
39
40
ClassDefOverride
(
TArc
,1)
//Arc of a circle
41
};
42
43
#endif
Double_t
double Double_t
Double 8 bytes.
Definition
RtypesCore.h:73
Option_t
const char Option_t
Option string (const char).
Definition
RtypesCore.h:80
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:348
TEllipse.h
TArc::~TArc
~TArc() override
Arc default destructor.
Definition
TArc.cxx:63
TArc::TArc
TArc()
Arc default constructor.
Definition
TArc.cxx:31
TArc::DrawArc
virtual TArc * 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:78
TArc::Copy
void Copy(TObject &arc) const override
Copy this arc to arc.
Definition
TArc.cxx:70
TArc::SavePrimitive
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Definition
TArc.cxx:91
TEllipse::TEllipse
TEllipse()
TObject::TObject
TObject()
TObject constructor.
Definition
TObject.h:259
graf2d
graf
inc
TArc.h
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1