16#include "GaudiKernel/MsgStream.h"
23 std::shared_ptr<Trk::VolumeBounds> volbounds)
51 ? std::make_unique<Amg::Transform3D>(*vol.
m_transform)
85 bool forceInside)
const
92 transform().inverse() * gp, dir, forceInside));
107 sl <<
"Trk::Volume with VolumeBounds :" << vol.
volumeBounds() << std::endl;
Eigen::Affine3d Transform3D
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume c...
Volume()=default
Defaults copies are special due ot unique ptr data member.
Volume & operator=(Volume &&)=default
const Amg::Transform3D & transform() const
Return methods for geometry transform.
const VolumeBounds & volumeBounds() const
returns the volumeBounds()
Amg::Vector3D m_center
center position of the surface
std::unique_ptr< Amg::Transform3D > m_transform
Transform3D (optional)
std::shared_ptr< VolumeBounds > m_volumeBounds
the volumeBounds
ObjectAccessor boundarySurfaceAccessor(const Amg::Vector3D &gp, const Amg::Vector3D &mom, bool forceInside=false) const
Provide accessor for BoundarySurfaces.
virtual Volume * clone() const
polymorpic deep copy
bool inside(const Amg::Vector3D &gp, double tol=0.) const
Inside() method for checks.
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
static const Amg::Vector3D s_origin(0, 0, 0)
origin position