VGM
Version 5.3
Loading...
Searching...
No Matches
packages
BaseVGM
include
BaseVGM
solids
VTrd.h
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
13
//
19
20
#ifndef BASE_VGM_V_TRD_H
21
#define BASE_VGM_V_TRD_H
22
23
#include "
VGM/solids/ITrd.h
"
24
25
#include <iostream>
26
27
namespace
BaseVGM
{
28
29
class
VTrd
:
public
virtual
VGM::ITrd
30
{
31
public
:
32
VTrd
();
33
virtual
~VTrd
();
34
35
// methods
36
virtual
VGM::SolidType
Type
()
const
;
37
38
// streaming
39
virtual
std::ostream&
Put
(std::ostream& out)
const
;
40
};
41
42
}
// namespace BaseVGM
43
44
// inline functions
45
46
inline
VGM::SolidType
BaseVGM::VTrd::Type
()
const
{
return
VGM::kTrd
; }
47
48
#endif
// BASE_VGM_V_TRD_H
ITrd.h
BaseVGM::VTrd
The ABC for trd solids.
Definition
VTrd.h:30
BaseVGM::VTrd::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VTrd.cxx:42
BaseVGM::VTrd::~VTrd
virtual ~VTrd()
Definition
VTrd.cxx:36
BaseVGM::VTrd::Type
virtual VGM::SolidType Type() const
Return the type of this solid.
Definition
VTrd.h:46
BaseVGM::VTrd::VTrd
VTrd()
Definition
VTrd.cxx:30
VGM::ITrd
The VGM interface to trd solids.
Definition
ITrd.h:30
BaseVGM
BaseVGM utilities.
Definition
utilities.h:23
VGM::SolidType
SolidType
Definition
ISolid.h:29
VGM::kTrd
@ kTrd
Definition
ISolid.h:46
Generated on Thu Nov 28 2024 10:40:48 for VGM by
1.12.0