OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
Euclid3DGeometry Class Reference

#include <Euclid3DGeometry.h>

Inheritance diagram for Euclid3DGeometry:
Collaboration diagram for Euclid3DGeometry:

Public Member Functions

 Euclid3DGeometry (Euclid3D transformation)
 Euclid3DGeometry (const Euclid3DGeometry &right)
virtual ~Euclid3DGeometry ()
const Euclid3DGeometryoperator= (const Euclid3DGeometry &right)
virtual double getArcLength () const
 Get arc length.
virtual double getElementLength () const
 Get geometry length.
virtual void setElementLength (double length)
 Set geometry length.
virtual Euclid3D getTransform (double fromS, double toS) const
virtual Euclid3D getTransform (double fromS) const
 Get transform.
virtual Euclid3D getTotalTransform () const
 Get total transform from beginning to end.
virtual double getOrigin () const
 Get origin position.
virtual double getEntrance () const
 Get entrance position.
virtual double getExit () const
 Get exit position.
virtual Euclid3D getEntranceFrame () const
 Get transform.
virtual Euclid3D getExitFrame () const
 Get transform.
virtual Euclid3D getEntrancePatch () const
 Get patch.
virtual Euclid3D getExitPatch () const
 Get patch.

Private Attributes

Euclid3D transformation_m

Detailed Description

class Euclid3DGeometry

Euclid3DGeometry is a straight line from input to output followed by a rotation.

Definition at line 43 of file Euclid3DGeometry.h.

Constructor & Destructor Documentation

◆ Euclid3DGeometry() [1/2]

Euclid3DGeometry::Euclid3DGeometry ( Euclid3D transformation)

Definition at line 34 of file Euclid3DGeometry.cpp.

References BGeometryBase::BGeometryBase(), and transformation_m.

Referenced by Euclid3DGeometry(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Euclid3DGeometry() [2/2]

Euclid3DGeometry::Euclid3DGeometry ( const Euclid3DGeometry & right)

Definition at line 38 of file Euclid3DGeometry.cpp.

References BGeometryBase::BGeometryBase(), Euclid3DGeometry(), and transformation_m.

Here is the call graph for this function:

◆ ~Euclid3DGeometry()

Euclid3DGeometry::~Euclid3DGeometry ( )
virtual

Definition at line 42 of file Euclid3DGeometry.cpp.

Member Function Documentation

◆ getArcLength()

double Euclid3DGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 51 of file Euclid3DGeometry.cpp.

References dot(), and transformation_m.

Referenced by getElementLength(), and setElementLength().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getElementLength()

double Euclid3DGeometry::getElementLength ( ) const
virtual

Get geometry length.

Implements BGeometryBase.

Definition at line 56 of file Euclid3DGeometry.cpp.

References getArcLength().

Here is the call graph for this function:

◆ getEntrance()

double BGeometryBase::getEntrance ( ) const
virtualinherited

Get entrance position.

Reimplemented in BeamlineGeometry, PlanarArcGeometry, and StraightGeometry.

Definition at line 41 of file Geometry.cpp.

References getOrigin().

Referenced by ElementBase::getEntrance(), getEntranceFrame(), VarRadiusGeometry::getEntranceFrame(), and getTotalTransform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntranceFrame()

Euclid3D BGeometryBase::getEntranceFrame ( ) const
virtualinherited

Get transform.

Reimplemented in BeamlineGeometry, PlanarArcGeometry, RBendGeometry, StraightGeometry, and VarRadiusGeometry.

Definition at line 61 of file Geometry.cpp.

References getEntrance(), and getTransform().

Referenced by ElementBase::getEntranceFrame().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntrancePatch()

Euclid3D BGeometryBase::getEntrancePatch ( ) const
virtualinherited

Get patch.

Reimplemented in RBendGeometry.

Definition at line 71 of file Geometry.cpp.

References Euclid3D::identity().

Referenced by ElementBase::getEntrancePatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getExit()

double BGeometryBase::getExit ( ) const
virtualinherited

Get exit position.

Reimplemented in BeamlineGeometry, PlanarArcGeometry, and StraightGeometry.

Definition at line 46 of file Geometry.cpp.

References getArcLength(), and getOrigin().

Referenced by ElementBase::getExit(), getExitFrame(), VarRadiusGeometry::getExitFrame(), and getTotalTransform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getExitFrame()

Euclid3D BGeometryBase::getExitFrame ( ) const
virtualinherited

Get transform.

Reimplemented in BeamlineGeometry, PlanarArcGeometry, RBendGeometry, StraightGeometry, and VarRadiusGeometry.

Definition at line 66 of file Geometry.cpp.

References getExit(), and getTransform().

Referenced by ElementBase::getExitFrame().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getExitPatch()

Euclid3D BGeometryBase::getExitPatch ( ) const
virtualinherited

Get patch.

Reimplemented in RBendGeometry.

Definition at line 76 of file Geometry.cpp.

References Euclid3D::identity().

Referenced by ElementBase::getExitPatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOrigin()

double BGeometryBase::getOrigin ( ) const
virtualinherited

Get origin position.

Reimplemented in BeamlineGeometry, NullGeometry, PlanarArcGeometry, and StraightGeometry.

Definition at line 36 of file Geometry.cpp.

References getArcLength().

Referenced by getEntrance(), VarRadiusGeometry::getEntranceFrame(), getExit(), VarRadiusGeometry::getExitFrame(), and ElementBase::getOrigin().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTotalTransform()

Euclid3D Euclid3DGeometry::getTotalTransform ( ) const
virtual

Get total transform from beginning to end.

Reimplemented from BGeometryBase.

Definition at line 77 of file Euclid3DGeometry.cpp.

References transformation_m.

Referenced by Offset::operator=(), and operator==().

Here is the caller graph for this function:

◆ getTransform() [1/2]

Euclid3D Euclid3DGeometry::getTransform ( double s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 73 of file Euclid3DGeometry.cpp.

◆ getTransform() [2/2]

Euclid3D Euclid3DGeometry::getTransform ( double fromS,
double toS ) const
virtual

Not Implemented - raises GeneralClassicException Get transform.

Implements BGeometryBase.

Definition at line 69 of file Euclid3DGeometry.cpp.

◆ operator=()

const Euclid3DGeometry & Euclid3DGeometry::operator= ( const Euclid3DGeometry & right)

Definition at line 44 of file Euclid3DGeometry.cpp.

References Euclid3DGeometry(), and transformation_m.

Here is the call graph for this function:

◆ setElementLength()

void Euclid3DGeometry::setElementLength ( double length)
virtual

Set geometry length.

Reimplemented from BGeometryBase.

Definition at line 60 of file Euclid3DGeometry.cpp.

References getArcLength(), and transformation_m.

Here is the call graph for this function:

Member Data Documentation

◆ transformation_m

Euclid3D Euclid3DGeometry::transformation_m
private

The documentation for this class was generated from the following files: