ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
TELTU.h
TNode.h
graf3d
g3d
src
TELTU.cxx
Generated on Tue May 5 2020 14:02:39 for ROOT by
1.8.5