ROOT
master
Reference Guide
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
16
/** \class TELTU
17
\ingroup g3d
18
A cylinder with an elliptical section. It has three
19
parameters: the ellipse semi-axis in X, the ellipse
20
semi-axis in Y and the half length in Z. The equation of
21
the conical curve is:
22
23
X**2/fRx**2 + Y**2/fRy**2 = 1
24
25
ELTU is not divisible.
26
27
- name: name of the shape
28
- title: shape's title
29
- material: (see TMaterial)
30
- rx: the ellipse semi-axis in X
31
- ry: the ellipse semi-axis in Y
32
- dz: half-length in z
33
*/
34
35
////////////////////////////////////////////////////////////////////////////////
36
/// ELTU shape default constructor.
37
38
TELTU::TELTU
()
39
{
40
41
}
42
43
////////////////////////////////////////////////////////////////////////////////
44
45
TELTU::TELTU
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
rx,
Float_t
ry,
46
Float_t
dz
):
TTUBE
(
name
,title,material,0,rx,
dz
,rx?ry/rx:1.0)
47
{}
48
49
////////////////////////////////////////////////////////////////////////////////
50
/// ELTU shape default destructor.
51
52
TELTU::~TELTU
()
53
{
54
}
55
Float_t
float Float_t
Float 4 bytes (float)
Definition
RtypesCore.h:71
TELTU.h
name
char name[80]
Definition
TGX11.cxx:110
TNode.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TELTU::TELTU
TELTU()
ELTU shape default constructor.
Definition
TELTU.cxx:38
TELTU::~TELTU
~TELTU() override
ELTU shape default destructor.
Definition
TELTU.cxx:52
TTUBE
A tube.
Definition
TTUBE.h:32
graf3d
g3d
src
TELTU.cxx
ROOT master - Reference Guide Generated on Wed Sep 24 2025 15:07:40 (GVA Time) using Doxygen 1.10.0