VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
VGM
include
VGM
solids
IPara.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The VGM 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
19
20
#ifndef VGM_I_PARA_H
21
#define VGM_I_PARA_H
22
23
#include "
VGM/solids/ISolid.h
"
24
25
#include <iostream>
26
27
namespace
VGM
{
28
29
class
IPara
:
public
virtual
ISolid
30
{
31
public
:
32
virtual
~IPara
() {}
33
34
// methods
35
36
virtual
SolidType
Type
()
const
= 0;
37
virtual
std::string
Name
()
const
= 0;
38
41
virtual
double
XHalfLength
()
const
= 0;
44
virtual
double
YHalfLength
()
const
= 0;
47
virtual
double
ZHalfLength
()
const
= 0;
52
virtual
double
Alpha
()
const
= 0;
56
virtual
double
Theta
()
const
= 0;
60
virtual
double
Phi
()
const
= 0;
61
62
// streaming
63
virtual
std::ostream&
Put
(std::ostream& out)
const
= 0;
64
};
65
66
}
// namespace VGM
67
68
std::ostream&
operator<<
(std::ostream& out,
const
VGM::IPara
& para);
69
70
#endif
// VGM_I_PARA_H
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::IPara ¶)
Definition
VPara.cxx:22
ISolid.h
VGM::IPara
The VGM interface to para solids.
Definition
IPara.h:30
VGM::IPara::Type
virtual SolidType Type() const =0
Return the type of this solid.
VGM::IPara::Name
virtual std::string Name() const =0
Return the name of this solid.
VGM::IPara::Put
virtual std::ostream & Put(std::ostream &out) const =0
Put the printing of the solid parameters in the out stream.
VGM::IPara::Alpha
virtual double Alpha() const =0
Return angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-...
VGM::IPara::Theta
virtual double Theta() const =0
Return polar angle of the line joining the centres of the faces at -hz and +hz in deg.
VGM::IPara::YHalfLength
virtual double YHalfLength() const =0
Return half-length along the y axis in mm.
VGM::IPara::ZHalfLength
virtual double ZHalfLength() const =0
Return half-length along the z axis in mm.
VGM::IPara::XHalfLength
virtual double XHalfLength() const =0
Return half-length along the x axis in mm.
VGM::IPara::Phi
virtual double Phi() const =0
Return azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
VGM::IPara::~IPara
virtual ~IPara()
Definition
IPara.h:32
VGM::ISolid
The VGM interface to solids.
Definition
ISolid.h:58
VGM
VGM interfaces.
Definition
VMedium.h:28
VGM::SolidType
SolidType
Definition
ISolid.h:29
Generated on
for VGM by
1.17.0