1 #ifndef CLASSIC_OffsetGeometry_HH
2 #define CLASSIC_OffsetGeometry_HH
146 #endif // CLASSIC_OffsetGeometry_HH
OffsetGeometry(const BGeometryBase &global, const BGeometryBase &local, const Euclid3D &euclid)
Constructor.
virtual ~OffsetGeometry()
A geometry which offset with respect to some global geometry.
virtual Euclid3D getEntranceFrame() const
Get transform.
virtual Euclid3D getTotalTransform() const
Get transform.
virtual Euclid3D getEntrancePatch() const
Get patch.
virtual double getOrigin() const
Get origin.
virtual Euclid3D getExitFrame() const
Get transform.
virtual double getEntrance() const
Get entrance position.
virtual Euclid3D getExitPatch() const
Get patch.
Abstract base class for accelerator geometry classes.
Euclid3D getGlobalToLocalTransform(double globalS, double localS) const
Transform global to local.
Displacement and rotation in space.
virtual double getExit() const
Get exit position.
virtual Euclid3D getTransform(double fromS, double toS) const
Get transform.
void setGtoL(const Euclid3D &)
Set displacement.
const BGeometryBase & local
const BGeometryBase & global
const OffsetGeometry & operator=(const OffsetGeometry &)
Euclid3D getGtoL() const
Get displacement.
virtual double getElementLength() const
Get design length.
virtual double getArcLength() const
Get arc length.