class
RBendGeometry
: public StraightGeometry
(Return to index)
The geometry for a RBend element.
It is a Geometry wrapper which adds two rotations by alpha/2 (local
y-axis rotations) to the entrance and exit planes of a StraightGeometry.
The y-rotations become part of the global geometry definition.
{P}
NOTE: in general the transformations returned include the effects of
the y-rotations when the required point specifies the entrance or exit
point. Requests for transformations within the geometry (i.e. from s1
to s2, where s1 and/or s2 are not the entrance or exit planes) do not
contain the y-rotations.
{P}
A RBendGeometry can be seen as an OffsetGeometry, whose global geometry
is a PlanarArcGeometry, and whose local geometry is a StraightGeometry.
Type: |
Instantiable |
Superclasses: |
public StraightGeometry |
Include file: |
./BeamlineGeometry/RBendGeometry.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
RBendGeometry
(double,double)
;
- Constructor.
Construct an RBendGeometry from length and angle.
-
virtual double getArcLength
()const
;
- Get arc length.
Return the length measured along a circular arc tangent to the
local s-axis at entrance and exit; an approximation to the actual
design orbit.
-
virtual double getBendAngle
()const
;
- Get angle.
Return the total bend angle.
-
virtual double getElementLength
()const
;
- Get element length.
Return the straight length of the geometry.
-
Euclid3D getEntranceFrame
()const
;
- Get transform.
Equivalent to getTransform(0.0, getEntrance()).
Return the transform of the local coordinate system from the
origin to the entrance of the element.
-
Euclid3D getEntrancePatch
()const
;
- Get patch.
Returns the entrance patch (transformation) which is used to transform
the global geometry to the local geometry at entrance.
-
Euclid3D getExitFrame
()const
;
- Get transform.
Equivalent to getTransform(0.0, getExit()).
Return the transform of the local coordinate system from the
origin to the exit of the element.
-
Euclid3D getExitPatch
()const
;
- Get patch.
Returns the entrance patch (transformation) which is used to transform
the local geometry to the global geometry at exit.
-
Euclid3D getTotalTransform
()const
;
- Get transform.
Equivalent to getTransform(getEntrance(), getExit()).
Return the transform of the local coordinate system from the
entrance to the exit of the element.
-
void setBendAngle
(double)
;
- Set angle.
Assign the bend angle.
Documentation generated by fci on Mon Feb 7 11:41:49 2000