VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
VGM
include
VGM
solids
ICons.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_CONS_H
21
#define VGM_I_CONS_H
22
23
#include "
VGM/solids/ISolid.h
"
24
25
#include <iostream>
26
27
namespace
VGM
{
28
29
class
ICons
:
public
virtual
ISolid
30
{
31
public
:
32
virtual
~ICons
() {}
33
34
// methods
35
36
virtual
SolidType
Type
()
const
= 0;
37
virtual
std::string
Name
()
const
= 0;
38
41
virtual
double
InnerRadiusMinusZ
()
const
= 0;
44
virtual
double
OuterRadiusMinusZ
()
const
= 0;
47
virtual
double
InnerRadiusPlusZ
()
const
= 0;
50
virtual
double
OuterRadiusPlusZ
()
const
= 0;
53
virtual
double
ZHalfLength
()
const
= 0;
56
virtual
double
StartPhi
()
const
= 0;
59
virtual
double
DeltaPhi
()
const
= 0;
60
61
// streaming
62
virtual
std::ostream&
Put
(std::ostream& out)
const
= 0;
63
};
64
65
}
// namespace VGM
66
67
std::ostream&
operator<<
(std::ostream& out,
const
VGM::ICons
& cons);
68
69
#endif
// VGM_I_CONS_H
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::ICons &cons)
Definition
VCons.cxx:22
ISolid.h
VGM::ICons
The VGM interface to cons solids.
Definition
ICons.h:30
VGM::ICons::DeltaPhi
virtual double DeltaPhi() const =0
Return the opening phi angle of the segment in deg.
VGM::ICons::OuterRadiusPlusZ
virtual double OuterRadiusPlusZ() const =0
Return the outer radius at -z in mm.
VGM::ICons::OuterRadiusMinusZ
virtual double OuterRadiusMinusZ() const =0
Return the outer radius at -z in mm.
VGM::ICons::Name
virtual std::string Name() const =0
Return the name of this solid.
VGM::ICons::Put
virtual std::ostream & Put(std::ostream &out) const =0
Put the printing of the solid parameters in the out stream.
VGM::ICons::~ICons
virtual ~ICons()
Definition
ICons.h:32
VGM::ICons::Type
virtual SolidType Type() const =0
Return the type of this solid.
VGM::ICons::ZHalfLength
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
VGM::ICons::InnerRadiusMinusZ
virtual double InnerRadiusMinusZ() const =0
Return the innner radius at -z in mm.
VGM::ICons::InnerRadiusPlusZ
virtual double InnerRadiusPlusZ() const =0
Return the innner radius at +z in mm.
VGM::ICons::StartPhi
virtual double StartPhi() const =0
Return the starting phi angle of the segment in deg.
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