OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
Implements the composite geometry of a beam line. More...
#include <BeamlineGeometry.h>
Public Member Functions | |
BeamlineGeometry (const Beamline &line) | |
Constructor. More... | |
virtual | ~BeamlineGeometry () |
virtual double | getArcLength () const |
Get arc length. More... | |
virtual double | getElementLength () const |
Get element length. More... | |
virtual double | getOrigin () const |
Get origin position. More... | |
virtual double | getEntrance () const |
Get entrance position. More... | |
virtual double | getExit () const |
Get exit position. More... | |
virtual Euclid3D | getTransform (double fromS, double toS) const |
Get transform. More... | |
virtual Euclid3D | getTransform (double s) const |
Get transform. More... | |
virtual Euclid3D | getTotalTransform () const |
Get transform. More... | |
virtual Euclid3D | getEntranceFrame () const |
Get transform. More... | |
virtual Euclid3D | getExitFrame () const |
Get transform. More... | |
![]() | |
BGeometryBase () | |
BGeometryBase (const BGeometryBase &right) | |
virtual | ~BGeometryBase () |
const BGeometryBase & | operator= (const BGeometryBase &right) |
virtual void | setElementLength (double length) |
Set geometry length. More... | |
virtual Euclid3D | getEntrancePatch () const |
Get patch. More... | |
virtual Euclid3D | getExitPatch () const |
Get patch. More... | |
Private Member Functions | |
BeamlineGeometry () | |
BeamlineGeometry (const BeamlineGeometry &) | |
void | operator= (const BeamlineGeometry &) |
Private Attributes | |
const Beamline & | itsLine |
Implements the composite geometry of a beam line.
Definition at line 32 of file BeamlineGeometry.h.
|
explicit |
Constructor.
Definition at line 28 of file BeamlineGeometry.cpp.
|
virtual |
Definition at line 33 of file BeamlineGeometry.cpp.
|
private |
|
private |
|
virtual |
Get arc length.
Implements BGeometryBase.
Definition at line 37 of file BeamlineGeometry.cpp.
References ElementBase::getArcLength(), and itsLine.
|
virtual |
Get element length.
Implements BGeometryBase.
Definition at line 42 of file BeamlineGeometry.cpp.
References ElementBase::getElementLength(), and itsLine.
|
virtual |
Get entrance position.
Reimplemented from BGeometryBase.
Definition at line 52 of file BeamlineGeometry.cpp.
References ElementBase::getEntrance(), and itsLine.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 77 of file BeamlineGeometry.cpp.
References ElementBase::getEntranceFrame(), and itsLine.
|
virtual |
Get exit position.
Reimplemented from BGeometryBase.
Definition at line 57 of file BeamlineGeometry.cpp.
References ElementBase::getExit(), and itsLine.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 82 of file BeamlineGeometry.cpp.
References ElementBase::getExitFrame(), and itsLine.
|
virtual |
Get origin position.
Reimplemented from BGeometryBase.
Definition at line 47 of file BeamlineGeometry.cpp.
References ElementBase::getOrigin(), and itsLine.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 67 of file BeamlineGeometry.cpp.
References ElementBase::getTotalTransform(), and itsLine.
|
virtual |
Get transform.
Implements BGeometryBase.
Definition at line 62 of file BeamlineGeometry.cpp.
References ElementBase::getTransform(), and itsLine.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 72 of file BeamlineGeometry.cpp.
References ElementBase::getTransform(), and itsLine.
|
private |
|
private |
Definition at line 102 of file BeamlineGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getExit(), getExitFrame(), getOrigin(), getTotalTransform(), and getTransform().