ROOT
v6-28
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
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
TELTU
A cylinder with an elliptical section.
Definition
TELTU.h:31
TELTU::~TELTU
virtual ~TELTU()
ELTU shape default destructor.
Definition
TELTU.cxx:53
TELTU::TELTU
TELTU()
ELTU shape default constructor.
Definition
TELTU.cxx:39
TTUBE
A tube.
Definition
TTUBE.h:32
graf3d
g3d
src
TELTU.cxx
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:49:16 (GVA Time) using Doxygen 1.9.8