63 return patch * body * patch;
Euclid3D getTotalTransform() const
Get transform.
Euclid3D getEntranceFrame() const
Get transform.
void setBendAngle(double angle)
Set angle.
The geometry for a RBend element.
item[EANGLE] Entrance edge angle(radians).\item[ROTATION] Rotation of the magnet about its central axis(radians
Tps< T > tan(const Tps< T > &x)
Tangent.
A geometry representing a straight line.
Euclid3D getExitPatch() const
Get patch.
virtual double getElementLength() const
Get design length.
Euclid3D getTotalTransform() const
Get transform.
static Euclid3D YRotation(double angle)
Make rotation.
static Euclid3D translation(double x, double y, double z)
Make translation.
RBendGeometry(double length, double angle)
Constructor.
virtual double getBendAngle() const
Get angle.
Euclid3D getEntrancePatch() const
Get patch.
Displacement and rotation in space.
Euclid3D getExitFrame() const
Get transform.
Tps< T > sin(const Tps< T > &x)
Sine.
Euclid3D getExitFrame() const
Get transform.
virtual double getArcLength() const
Get arc length.
Euclid3D getEntranceFrame() const
Get transform.