OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
A geometry representing a straight line. More...
#include <StraightGeometry.h>
Public Member Functions | |
StraightGeometry (double length=0.0) | |
Constructor. More... | |
StraightGeometry (const StraightGeometry &right) | |
virtual | ~StraightGeometry () |
const StraightGeometry & | operator= (const StraightGeometry &right) |
virtual double | getArcLength () const |
Get arc length. More... | |
virtual double | getElementLength () const |
Get design length. More... | |
virtual void | setElementLength (double length) |
Set design length. More... | |
double | getOrigin () const |
Get origin. More... | |
double | getEntrance () const |
Get entrance. More... | |
double | getExit () const |
Get exit. More... | |
Euclid3D | getTransform (double fromS, double toS) const |
Get transform. More... | |
Euclid3D | getTransform (double s) const |
Get transform. More... | |
Euclid3D | getTotalTransform () const |
Get transform. More... | |
Euclid3D | getEntranceFrame () const |
Get transform. More... | |
Euclid3D | getExitFrame () const |
Get transform. More... | |
![]() | |
BGeometryBase () | |
BGeometryBase (const BGeometryBase &right) | |
virtual | ~BGeometryBase () |
const BGeometryBase & | operator= (const BGeometryBase &right) |
virtual Euclid3D | getEntrancePatch () const |
Get patch. More... | |
virtual Euclid3D | getExitPatch () const |
Get patch. More... | |
Private Attributes | |
double | len |
A geometry representing a straight line.
Definition at line 34 of file StraightGeometry.h.
|
inline |
Constructor.
Definition at line 109 of file StraightGeometry.h.
|
inline |
Definition at line 112 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 35 of file StraightGeometry.cpp.
References len.
|
virtual |
Get design length.
Implements BGeometryBase.
Definition at line 40 of file StraightGeometry.cpp.
References len.
Referenced by RBendGeometry::getArcLength(), RBendGeometry::getEntrancePatch(), RBendGeometry::getExitPatch(), Corrector::goOnline(), and Corrector::setDesignEnergy().
|
virtual |
Get entrance.
Reimplemented from BGeometryBase.
Definition at line 59 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 84 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getEntranceFrame().
|
virtual |
Get exit.
Reimplemented from BGeometryBase.
Definition at line 64 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 89 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getExitFrame().
|
virtual |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 54 of file StraightGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 74 of file StraightGeometry.cpp.
References len, and Euclid3D::translation().
Referenced by RBendGeometry::getTotalTransform().
|
virtual |
Get transform.
Implements BGeometryBase.
Definition at line 69 of file StraightGeometry.cpp.
References Euclid3D::translation().
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 79 of file StraightGeometry.cpp.
References Euclid3D::translation().
|
inline |
Definition at line 116 of file StraightGeometry.h.
References len.
|
virtual |
Set design length.
Reimplemented from BGeometryBase.
Definition at line 45 of file StraightGeometry.cpp.
Referenced by VerticalFFAMagnet::initialise(), MultipoleTStraight::initialise(), VariableRFCavity::setLength(), and OpalRBend::update().
|
private |
Definition at line 104 of file StraightGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getExit(), getExitFrame(), getOrigin(), getTotalTransform(), operator=(), and setElementLength().