VGM Version 5.3
Loading...
Searching...
No Matches
Ellipsoid.h
Go to the documentation of this file.
1// $Id$
2
3// -----------------------------------------------------------------------
4// The Geant4GM 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 GEANT4_GM_ELLIPSOID_H
21#define GEANT4_GM_ELLIPSOID_H
22
24
25#include <string>
26
27class G4Ellipsoid;
28class G4ReflectedSolid;
29
30namespace Geant4GM {
31
33{
34 public:
35 Ellipsoid(const std::string& name, double dx, double dy, double dz,
36 double zBottomCut, double zTopCut);
37 Ellipsoid(G4Ellipsoid* ellipsoid, G4ReflectedSolid* reflEllipsoid = 0);
38 virtual ~Ellipsoid();
39
40 // methods
41 virtual std::string Name() const;
42 virtual double XSemiAxis() const;
43 virtual double YSemiAxis() const;
44 virtual double ZSemiAxis() const;
45 virtual double ZBottomCut() const;
46 virtual double ZTopCut() const;
47
48 protected:
49 Ellipsoid();
50 Ellipsoid(const Ellipsoid& rhs);
51
52 private:
53 G4Ellipsoid* fEllipsoid;
54};
55
56} // namespace Geant4GM
57
58#endif // GEANT4_GM_ELLIPSOID_H
The ABC for ellipsoid solids.
Definition VEllipsoid.h:30
VGM implementation for Geant4 ellipsoid solid.
Definition Ellipsoid.h:33
virtual double ZTopCut() const
Return the z top cut in mm.
virtual double XSemiAxis() const
Return the semi-axis of the ellipse along x in mm.
Definition Ellipsoid.cxx:88
virtual std::string Name() const
Return the name of this solid.
Definition Ellipsoid.cxx:85
virtual double YSemiAxis() const
Return the semi-axis of the ellipse along y in mm.
Definition Ellipsoid.cxx:94
virtual double ZBottomCut() const
Return the z bottom cut in mm.
virtual double ZSemiAxis() const
Return the semi-axis of the ellipse along z in mm.
VGM implementation for Geant4.
Definition Element.h:29