VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
BaseVGM
source
solids
VEllipticalTube.cxx
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The BaseVGM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
12
//
13
// Class VEllipticalTube
14
// ---------------------
15
// The ABC for elliptical tube solids.
16
//
17
// Author: Ivana Hrivnacova; IPN Orsay
18
19
#include "
BaseVGM/solids/VEllipticalTube.h
"
20
21
//_____________________________________________________________________________
22
std::ostream&
operator<<
(std::ostream& out,
const
VGM::IEllipticalTube
& eltu)
23
{
24
const
VGM::ISolid
& eltuSolid = eltu;
25
out << eltuSolid;
26
return
out;
27
}
28
29
//_____________________________________________________________________________
30
BaseVGM::VEllipticalTube::VEllipticalTube
() :
VGM
::IEllipticalTube()
31
{
33
}
34
35
//_____________________________________________________________________________
36
BaseVGM::VEllipticalTube::~VEllipticalTube
()
37
{
38
//
39
}
40
41
//_____________________________________________________________________________
42
std::ostream&
BaseVGM::VEllipticalTube::Put
(std::ostream& out)
const
43
{
44
out <<
" dx = "
<<
Dx
() <<
"mm"
45
<<
" dy = "
<<
Dy
() <<
"mm"
46
<<
" hz = "
<<
ZHalfLength
() <<
"mm"
;
47
return
out;
48
}
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::IEllipticalTube &eltu)
Definition
VEllipticalTube.cxx:22
VEllipticalTube.h
BaseVGM::VEllipticalTube::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VEllipticalTube.cxx:42
BaseVGM::VEllipticalTube::~VEllipticalTube
virtual ~VEllipticalTube()
Definition
VEllipticalTube.cxx:36
BaseVGM::VEllipticalTube::VEllipticalTube
VEllipticalTube()
Definition
VEllipticalTube.cxx:30
VGM::IEllipticalTube
The VGM interface to elliptical tube solids.
Definition
IEllipticalTube.h:30
VGM::IEllipticalTube::Dx
virtual double Dx() const =0
Return the semi-axis of the ellipse along x in mm.
VGM::IEllipticalTube::ZHalfLength
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
VGM::IEllipticalTube::Dy
virtual double Dy() const =0
Return the semi-axis of the ellipse along y in mm.
VGM::ISolid
The VGM interface to solids.
Definition
ISolid.h:58
VGM
VGM interfaces.
Definition
VMedium.h:28
Generated on
for VGM by
1.17.0