ROOT
Version v6.32
master
v6.34
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
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
▼
src
►
TAxis3D.cxx
TBRIK.cxx
►
TCONE.cxx
►
TCONS.cxx
►
TCTUB.cxx
►
TELTU.cxx
►
TGeometry.cxx
►
TGTRA.cxx
THelix.cxx
►
THYPE.cxx
TMarker3DBox.cxx
TMaterial.cxx
TMixture.cxx
►
TNode.cxx
►
TNodeDiv.cxx
►
TPARA.cxx
TPCON.cxx
►
TPGON.cxx
►
TPoints3DABC.cxx
TPointSet3D.cxx
TPolyLine3D.cxx
►
TPolyMarker3D.cxx
TRotMatrix.cxx
TShape.cxx
TSPHE.cxx
►
TTRAP.cxx
►
TTRD1.cxx
►
TTRD2.cxx
TTUBE.cxx
TTUBS.cxx
►
TView3D.cxx
TXTRU.cxx
►
X3DBuffer.c
►
gl
►
gviz3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TELTU.cxx
Go to the documentation of this file.
1
// @(#)root/g3d:$Id$
2
// Author: Rene Brun 26/06/97
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
#include "
TELTU.h
"
13
#include "
TNode.h
"
14
15
ClassImp
(
TELTU
);
16
17
/** \class TELTU
18
\ingroup g3d
19
A cylinder with an elliptical section. It has three
20
parameters: the ellipse semi-axis in X, the ellipse
21
semi-axis in Y and the half length in Z. The equation of
22
the conical curve is:
23
24
X**2/fRx**2 + Y**2/fRy**2 = 1
25
26
ELTU is not divisible.
27
28
- name: name of the shape
29
- title: shape's title
30
- material: (see TMaterial)
31
- rx: the ellipse semi-axis in X
32
- ry: the ellipse semi-axis in Y
33
- dz: half-length in z
34
*/
35
36
////////////////////////////////////////////////////////////////////////////////
37
/// ELTU shape default constructor.
38
39
TELTU::TELTU
()
40
{
41
42
}
43
44
////////////////////////////////////////////////////////////////////////////////
45
46
TELTU::TELTU
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
rx,
Float_t
ry,
47
Float_t
dz
):
TTUBE
(
name
,title,material,0,rx,
dz
,rx?ry/rx:1.0)
48
{}
49
50
////////////////////////////////////////////////////////////////////////////////
51
/// ELTU shape default destructor.
52
53
TELTU::~TELTU
()
54
{
55
}
56
Float_t
float Float_t
Definition
RtypesCore.h:57
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
TELTU.h
name
char name[80]
Definition
TGX11.cxx:110
TNode.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TELTU
A cylinder with an elliptical section.
Definition
TELTU.h:31
TELTU::TELTU
TELTU()
ELTU shape default constructor.
Definition
TELTU.cxx:39
TELTU::~TELTU
~TELTU() override
ELTU shape default destructor.
Definition
TELTU.cxx:53
TTUBE
A tube.
Definition
TTUBE.h:32
graf3d
g3d
src
TELTU.cxx
ROOT v6-32 - Reference Guide Generated on Thu Mar 27 2025 04:51:20 (GVA Time) using Doxygen 1.10.0