OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
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... | |
![]() | |
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 45 of file PlanarArcGeometry.cpp.
|
virtual |
Get arc length.
Implements BGeometryBase.
Definition at line 49 of file PlanarArcGeometry.cpp.
References len.
Referenced by OrbitTracker::visitSBend(), LinearMapper::visitSBend(), and TransportMapper::visitSBend().
double PlanarArcGeometry::getBendAngle | ( | ) | const |
Get angle.
Definition at line 64 of file PlanarArcGeometry.cpp.
References angle.
Referenced by MSplit::visitSBend(), ThinMapper::visitSBend(), OrbitTracker::visitSBend(), ThinTracker::visitSBend(), Aperture::visitSBend(), ThickMapper::visitSBend(), LieMapper::visitSBend(), LinearMapper::visitSBend(), and TransportMapper::visitSBend().
double PlanarArcGeometry::getCurvature | ( | ) | const |
Get curvature.
Definition at line 59 of file PlanarArcGeometry.cpp.
References h.
Referenced by OrbitTracker::visitSBend(), ThickMapper::visitSBend(), LieMapper::visitSBend(), LinearMapper::visitSBend(), and TransportMapper::visitSBend().
|
virtual |
Get element length.
Implements BGeometryBase.
Definition at line 54 of file PlanarArcGeometry.cpp.
References len.
Referenced by MSplit::visitSBend(), ThinMapper::visitSBend(), OrbitTracker::visitSBend(), ThinTracker::visitSBend(), Aperture::visitSBend(), ThickMapper::visitSBend(), LieMapper::visitSBend(), LinearMapper::visitSBend(), and TransportMapper::visitSBend().
|
virtual |
Get entrance.
Reimplemented from BGeometryBase.
Definition at line 94 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 119 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get exit.
Reimplemented from BGeometryBase.
Definition at line 99 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 124 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 89 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 109 of file PlanarArcGeometry.cpp.
References len.
|
virtual |
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 114 of file PlanarArcGeometry.cpp.
|
inline |
Definition at line 164 of file PlanarArcGeometry.h.
References len.
|
virtual |
void PlanarArcGeometry::setCurvature | ( | double | hh | ) |
Set curvature.
Definition at line 75 of file PlanarArcGeometry.cpp.
Referenced by ScalingFFAMagnet::initialise(), MultipoleTCurvedConstRadius::initialise(), MultipoleT::initialise(), and SBend3D::setFieldMapFileName().
|
virtual |
Set length.
Reimplemented from BGeometryBase.
Definition at line 83 of file PlanarArcGeometry.cpp.
Referenced by ScalingFFAMagnet::initialise(), MultipoleTCurvedConstRadius::initialise(), MultipoleT::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().
|
private |
Definition at line 141 of file PlanarArcGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getExit(), getExitFrame(), getOrigin(), getTotalTransform(), operator=(), setBendAngle(), setCurvature(), and setElementLength().