ROOT
Version master
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
▼
graf3d
►
eve
►
eve7
▼
g3d
doc
▼
inc
TAxis3D.h
TBRIK.h
TCONE.h
TCONS.h
TCTUB.h
TELTU.h
►
TGeometry.h
TGTRA.h
►
THelix.h
THYPE.h
TMarker3DBox.h
TMaterial.h
TMixture.h
TNode.h
TNodeDiv.h
TPARA.h
►
TPCON.h
TPGON.h
TPoints3DABC.h
TPointSet3D.h
TPolyLine3D.h
TPolyMarker3D.h
TRotMatrix.h
►
TShape.h
TSPHE.h
TTRAP.h
TTRD1.h
TTRD2.h
►
TTUBE.h
TTUBS.h
TView3D.h
TXTRU.h
►
X3DBuffer.h
►
src
►
gl
►
gviz3d
►
gui
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TPGON.h
Go to the documentation of this file.
1
// @(#)root/g3d:$Id$
2
// Author: Nenad Buncic 29/09/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_TPGON
13
#define ROOT_TPGON
14
15
16
////////////////////////////////////////////////////////////////////////////
17
// //
18
// TPGON //
19
// //
20
// PGON is a polygone. It has at least 10 parameters, the lower phi limit,//
21
// the range in phi, the number of straight sides (of equal length) //
22
// between those phi limits, the number (at least two) of z planes where //
23
// the radius is changing for each z boundary and the z coordinate, the //
24
// minimum radius and the maximum radius. //
25
// //
26
////////////////////////////////////////////////////////////////////////////
27
28
#include "
TPCON.h
"
29
30
class
TPGON
:
public
TPCON
{
31
protected
:
32
void
FillTableOfCoSin
(
Double_t
phi,
Double_t
angstep
,
Int_t
n
)
const override
;
// Fill the table of cosin
33
34
public
:
35
TPGON
();
36
TPGON
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
phi1
,
Float_t
dphi1
,
37
Int_t
npdv
,
Int_t
nz
);
38
~TPGON
()
override
;
39
ClassDefOverride
(
TPGON
,1)
//PGON shape
40
};
41
42
#endif
Float_t
float Float_t
Definition
RtypesCore.h:57
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
name
char name[80]
Definition
TGX11.cxx:110
TPCON.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TPCON
A polycone.
Definition
TPCON.h:33
TPGON
A polygon.
Definition
TPGON.h:30
TPGON::~TPGON
~TPGON() override
PGON shape default destructor.
Definition
TPGON.cxx:64
TPGON::TPGON
TPGON()
PGON shape default constructor.
Definition
TPGON.cxx:45
TPGON::FillTableOfCoSin
void FillTableOfCoSin(Double_t phi, Double_t angstep, Int_t n) const override
Fill the table of cos and sin to prepare drawing.
Definition
TPGON.cxx:71
double
int
n
const Int_t n
Definition
legend1.C:16
graf3d
g3d
inc
TPGON.h
ROOT master - Reference Guide Generated on Mon Feb 17 2025 15:03:15 (GVA Time) using Doxygen 1.10.0