21 m_associatedDetElement(&detelement) {}
26 m_transform(other.m_transform),
27 m_surfaceMaterial(other.m_surfaceMaterial) {}
34 m_associatedLayer(nullptr),
35 m_surfaceMaterial(other.m_surfaceMaterial) {}
46 bool gtlSuccess = globalToLocal(gctx, position, momentum, lposition);
48 return bcheck ? bounds().inside(lposition, bcheck) :
true;
55 return shared_from_this();
59 return shared_from_this();
80 if (other.
type() != type()) {
84 if (other.
bounds() != bounds()) {
92 if (m_transform !=
nullptr && other.
m_transform !=
nullptr) {
108 std::ostream& sl)
const {
109 sl << std::setiosflags(std::ios::fixed);
110 sl << std::setprecision(4);
111 sl <<
name() << std::endl;
112 const Vector3D& sfcenter = center(gctx);
113 sl <<
" Center position (x, y, z) = (" << sfcenter.x() <<
", "
114 << sfcenter.y() <<
", " << sfcenter.z() <<
")" << std::endl;
119 sl << std::setprecision(6);
120 sl <<
" Rotation: colX = (" << rotX(0) <<
", " << rotX(1)
121 <<
", " << rotX(2) <<
")" << std::endl;
122 sl <<
" colY = (" << rotY(0) <<
", " << rotY(1)
123 <<
", " << rotY(2) <<
")" << std::endl;
124 sl <<
" colZ = (" << rotZ(0) <<
", " << rotZ(1)
125 <<
", " << rotZ(2) <<
")" << std::endl;
126 sl <<
" Bounds : " << bounds();
127 sl << std::setprecision(-1);