|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Abstract base class for accelerator geometry classes. More...
#include <Geometry.h>


Public Member Functions | |
| BGeometryBase () | |
| BGeometryBase (const BGeometryBase &right) | |
| virtual | ~BGeometryBase () |
| const BGeometryBase & | operator= (const BGeometryBase &right) |
| virtual double | getArcLength () const =0 |
| Get arc length. | |
| virtual double | getElementLength () const =0 |
| Get geometry length. | |
| virtual void | setElementLength (double length) |
| Set geometry length. | |
| virtual double | getOrigin () const |
| Get origin position. | |
| virtual double | getEntrance () const |
| Get entrance position. | |
| virtual double | getExit () const |
| Get exit position. | |
| virtual Euclid3D | getTransform (double fromS, double toS) const =0 |
| Get transform. | |
| virtual Euclid3D | getTransform (double s) const |
| Get transform. | |
| virtual Euclid3D | getTotalTransform () const |
| Get transform. | |
| virtual Euclid3D | getEntranceFrame () const |
| Get transform. | |
| virtual Euclid3D | getExitFrame () const |
| Get transform. | |
| virtual Euclid3D | getEntrancePatch () const |
| Get patch. | |
| virtual Euclid3D | getExitPatch () const |
| Get patch. | |
Abstract base class for accelerator geometry classes.
Definition at line 42 of file Geometry.h.
|
inline |
Definition at line 127 of file Geometry.h.
|
inline |
Definition at line 129 of file Geometry.h.
|
virtual |
Definition at line 27 of file Geometry.cpp.
|
pure virtual |
Get arc length.
Implemented in Euclid3DGeometry, NullGeometry, PlanarArcGeometry, RBendGeometry, StraightGeometry, BeamlineGeometry, DummyGeometry, and DummyGeometryTW.
Referenced by ElementBase::getArcLength(), getExit(), and getOrigin().
|
pure virtual |
Get geometry length.
Implemented in Euclid3DGeometry, NullGeometry, PlanarArcGeometry, StraightGeometry, BeamlineGeometry, DummyGeometry, and DummyGeometryTW.
Referenced by ElementBase::getElementLength().
|
virtual |
Get entrance position.
Reimplemented in PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 33 of file Geometry.cpp.
References getOrigin().
Referenced by ElementBase::getEntrance(), getEntranceFrame(), and getTotalTransform().

|
virtual |
Get transform.
Reimplemented in PlanarArcGeometry, RBendGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 41 of file Geometry.cpp.
References getEntrance(), and getTransform().
Referenced by ElementBase::getEntranceFrame().

|
virtual |
Get patch.
Reimplemented in RBendGeometry.
Definition at line 45 of file Geometry.cpp.
References Euclid3D::identity().
Referenced by ElementBase::getEntrancePatch().

|
virtual |
Get exit position.
Reimplemented in PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 35 of file Geometry.cpp.
References getArcLength(), and getOrigin().
Referenced by ElementBase::getExit(), getExitFrame(), and getTotalTransform().

|
virtual |
Get transform.
Reimplemented in PlanarArcGeometry, RBendGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 43 of file Geometry.cpp.
References getExit(), and getTransform().
Referenced by ElementBase::getExitFrame().

|
virtual |
Get patch.
Reimplemented in RBendGeometry.
Definition at line 47 of file Geometry.cpp.
References Euclid3D::identity().
Referenced by ElementBase::getExitPatch().

|
virtual |
Get origin position.
Reimplemented in NullGeometry, PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 31 of file Geometry.cpp.
References getArcLength().
Referenced by getEntrance(), getExit(), and ElementBase::getOrigin().

|
virtual |
Get transform.
Reimplemented in Euclid3DGeometry, PlanarArcGeometry, RBendGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 37 of file Geometry.cpp.
References getEntrance(), getExit(), and getTransform().
Referenced by Ring::appendElement(), and ElementBase::getTotalTransform().

|
pure virtual |
Get transform.
Implemented in Euclid3DGeometry, NullGeometry, PlanarArcGeometry, StraightGeometry, BeamlineGeometry, DummyGeometry, and DummyGeometryTW.
Referenced by getEntranceFrame(), getExitFrame(), getTotalTransform(), ElementBase::getTransform(), ElementBase::getTransform(), and getTransform().
|
virtual |
Get transform.
Reimplemented in Euclid3DGeometry, NullGeometry, PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.
Definition at line 39 of file Geometry.cpp.
References getTransform().

|
inline |
Definition at line 131 of file Geometry.h.
|
virtual |
Set geometry length.
Reimplemented in Euclid3DGeometry, StraightGeometry, DummyGeometry, DummyGeometryTW, and PlanarArcGeometry.
Definition at line 29 of file Geometry.cpp.
Referenced by ElementBase::setElementLength().