|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
A geometry representing a straight line. More...
#include <StraightGeometry.h>


Public Member Functions | |
| StraightGeometry (double length=0.0) | |
| Constructor. | |
| StraightGeometry (const StraightGeometry &right) | |
| virtual | ~StraightGeometry () |
| const StraightGeometry & | operator= (const StraightGeometry &right) |
| virtual double | getArcLength () const |
| Get arc length. | |
| virtual double | getElementLength () const |
| Get design length. | |
| virtual void | setElementLength (double length) |
| Set design length. | |
| double | getOrigin () const |
| Get origin. | |
| double | getEntrance () const |
| Get entrance. | |
| double | getExit () const |
| Get exit. | |
| Euclid3D | getTransform (double fromS, double toS) const |
| Get transform. | |
| Euclid3D | getTransform (double s) const |
| Get transform. | |
| Euclid3D | getTotalTransform () const |
| Get transform. | |
| Euclid3D | getEntranceFrame () const |
| Get transform. | |
| Euclid3D | getExitFrame () const |
| Get transform. | |
| virtual Euclid3D | getEntrancePatch () const |
| Get patch. | |
| virtual Euclid3D | getExitPatch () const |
| Get patch. | |
Private Attributes | |
| double | len |
A geometry representing a straight line.
Definition at line 34 of file StraightGeometry.h.
|
inline |
Constructor.
Definition at line 107 of file StraightGeometry.h.
|
inline |
Definition at line 109 of file StraightGeometry.h.
|
virtual |
Definition at line 31 of file StraightGeometry.cpp.
|
virtual |
Get arc length.
Implements BGeometryBase.
Reimplemented in RBendGeometry.
Definition at line 33 of file StraightGeometry.cpp.
References len.
|
virtual |
Get design length.
Implements BGeometryBase.
Definition at line 35 of file StraightGeometry.cpp.
References len.
Referenced by RBendGeometry::getArcLength(), RBendGeometry::getEntrancePatch(), RBendGeometry::getExitPatch(), Corrector::goOnline(), Corrector::setDesignEnergy(), and TEST_F().
|
virtual |
Get entrance.
Reimplemented from BGeometryBase.
Definition at line 48 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 60 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getEntranceFrame().

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

|
virtual |
Get exit.
Reimplemented from BGeometryBase.
Definition at line 50 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 64 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getExitFrame().

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

|
virtual |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 46 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 56 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getTotalTransform().

|
virtual |
Get transform.
Implements BGeometryBase.
Definition at line 52 of file StraightGeometry.cpp.
References Euclid3D::translation().

|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 58 of file StraightGeometry.cpp.
References Euclid3D::translation().

|
inline |
Definition at line 112 of file StraightGeometry.h.
References len.
|
virtual |
Set design length.
Reimplemented from BGeometryBase.
Definition at line 37 of file StraightGeometry.cpp.
References len.
Referenced by VerticalFFAMagnet::initialise(), MultipoleTStraight::initialise(), ConstantEFieldCavityRep::setElementLength(), VariableRFCavity::setLength(), TestMonitor::setLength(), TestMonitor::TestMonitor(), TestMonitor::TestMonitor(), and OpalRBend::update().
|
private |
Definition at line 102 of file StraightGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getExit(), getExitFrame(), getOrigin(), getTotalTransform(), operator=(), and setElementLength().