OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
A simple arc in the XZ plane. More...
#include <PlanarArcGeometry.h>
Public Member Functions | |
PlanarArcGeometry (double l, double h) | |
Constructor. More... | |
PlanarArcGeometry (double phi) | |
Constructor. More... | |
PlanarArcGeometry (const PlanarArcGeometry &) | |
virtual | ~PlanarArcGeometry () |
const PlanarArcGeometry & | operator= (const PlanarArcGeometry &) |
virtual double | getArcLength () const |
Get arc length. More... | |
virtual double | getElementLength () const |
Get element length. More... | |
double | getBendAngle () const |
Get angle. More... | |
double | getCurvature () const |
Get curvature. More... | |
virtual void | setBendAngle (double) |
Set angle. More... | |
void | setCurvature (double) |
Set curvature. More... | |
virtual void | setElementLength (double) |
Set length. More... | |
virtual double | getOrigin () const |
Get origin. More... | |
double | getEntrance () const |
Get entrance. More... | |
double | getExit () const |
Get exit. 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... | |
Euclid3D | getEntranceFrame () const |
Get transform. More... | |
Euclid3D | getExitFrame () const |
Get transform. More... | |
Public Member Functions inherited from BGeometryBase | |
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 |
double | h |
double | angle |
A simple arc in the XZ plane.
Definition at line 56 of file PlanarArcGeometry.h.
|
inline |
Constructor.
Definition at line 148 of file PlanarArcGeometry.h.
|
inline |
Constructor.
Definition at line 153 of file PlanarArcGeometry.h.
|
inline |
Definition at line 158 of file PlanarArcGeometry.h.
|
virtual |
Definition at line 47 of file PlanarArcGeometry.cpp.
|
virtual |
Get arc length.
Implements BGeometryBase.
Definition at line 51 of file PlanarArcGeometry.cpp.
References len.
double PlanarArcGeometry::getBendAngle | ( | ) | const |
double PlanarArcGeometry::getCurvature | ( | ) | const |
|
virtual |
Get element length.
Implements BGeometryBase.
Definition at line 56 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get entrance.
Reimplemented from BGeometryBase.
Definition at line 100 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 125 of file PlanarArcGeometry.cpp.
|
virtual |
Get exit.
Reimplemented from BGeometryBase.
Definition at line 105 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 130 of file PlanarArcGeometry.cpp.
|
virtual |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 95 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 115 of file PlanarArcGeometry.cpp.
|
virtual |
Get transform.
Implements BGeometryBase.
Definition at line 110 of file PlanarArcGeometry.cpp.
References h.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 120 of file PlanarArcGeometry.cpp.
References h.
|
inline |
Definition at line 163 of file PlanarArcGeometry.h.
References len.
|
virtual |
void PlanarArcGeometry::setCurvature | ( | double | hh | ) |
Set curvature.
Definition at line 77 of file PlanarArcGeometry.cpp.
Referenced by MultipoleT::initialise(), ScalingFFAMagnet::initialise(), MultipoleTCurvedConstRadius::initialise(), and SBend3D::setFieldMapFileName().
|
virtual |
Set length.
Reimplemented from BGeometryBase.
Definition at line 85 of file PlanarArcGeometry.cpp.
Referenced by MultipoleT::initialise(), ScalingFFAMagnet::initialise(), MultipoleTCurvedConstRadius::initialise(), and SBend3D::setFieldMapFileName().
|
private |
Definition at line 143 of file PlanarArcGeometry.h.
Referenced by getBendAngle(), setBendAngle(), setCurvature(), and setElementLength().
|
private |
Definition at line 142 of file PlanarArcGeometry.h.
Referenced by getCurvature(), getEntranceFrame(), getExitFrame(), getTotalTransform(), getTransform(), setBendAngle(), setCurvature(), and setElementLength().
|
private |
Definition at line 141 of file PlanarArcGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getExit(), getExitFrame(), getOrigin(), getTotalTransform(), operator=(), setBendAngle(), setCurvature(), and setElementLength().