#include <G4PlacedSolid.hh>
Definition at line 47 of file G4PlacedSolid.hh.
◆ G4PlacedSolid() [1/2]
G4PlacedSolid::G4PlacedSolid |
( |
| ) |
|
Definition at line 39 of file G4PlacedSolid.cc.
40{
41 solid =0;
42 solidRotation =0;
43 solidTranslation =0;
44}
◆ G4PlacedSolid() [2/2]
Definition at line 47 of file G4PlacedSolid.cc.
48{
49 solid = sol;
50 if(p)
51 {
54
59
65
68 if( (x<kCarTolerance)&&
69 (y<kCarTolerance)&&
70 (z<kCarTolerance) )
71 solidRotation=0;
72 else
73 {
78
81 solidRotation->
rotateAxes(x_axis, y_axis, x_axis.cross(y_axis));
82 }
83 }
84 else
85 {
86 solidTranslation=0;
87 solidRotation=0;
88 }
89}
CLHEP::HepRotation G4RotationMatrix
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateAxes(const Hep3Vector &newX, const Hep3Vector &newY, const Hep3Vector &newZ)
G4Point3D GetLocation() const
G4Vector3D GetAxis() const
G4Vector3D GetRefDirection() const
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()
◆ ~G4PlacedSolid()
G4PlacedSolid::~G4PlacedSolid |
( |
| ) |
|
Definition at line 92 of file G4PlacedSolid.cc.
93{
94
95 if(solidRotation)
96 delete solidRotation;
97
98 if(solidTranslation)
99 delete solidTranslation;
100}
◆ GetRotation()
◆ GetSolid()
G4VSolid * G4PlacedSolid::GetSolid |
( |
| ) |
const |
|
inline |
◆ GetTranslation()
◆ operator==()
◆ StreamInfo()
std::ostream & G4PlacedSolid::StreamInfo |
( |
std::ostream & |
os | ) |
const |
The documentation for this class was generated from the following files: