OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
BeamlineGeometry Class Reference

Implements the composite geometry of a beam line. More...

#include <BeamlineGeometry.h>

Inheritance diagram for BeamlineGeometry:
Inheritance graph
Collaboration diagram for BeamlineGeometry:
Collaboration graph

Public Member Functions

 BeamlineGeometry (const Beamline &line)
 Constructor.
 
virtual ~BeamlineGeometry ()
 
virtual double getArcLength () const
 Get arc length.
 
virtual double getElementLength () const
 Get element length.
 
virtual double getOrigin () const
 Get origin position.
 
virtual double getEntrance () const
 Get entrance position.
 
virtual double getExit () const
 Get exit position.
 
virtual Euclid3D getTransform (double fromS, double toS) const
 Get transform.
 
virtual Euclid3D getTransform (double s) const
 Get transform.
 
virtual Euclid3D getTotalTransform () const
 Get transform.
 
virtual Euclid3D getEntranceFrame () const
 Get transform.
 
virtual Euclid3D getExitFrame () const
 Get transform.
 
virtual void setElementLength (double length)
 Set geometry length.
 
virtual Euclid3D getEntrancePatch () const
 Get patch.
 
virtual Euclid3D getExitPatch () const
 Get patch.
 

Private Member Functions

 BeamlineGeometry ()
 
 BeamlineGeometry (const BeamlineGeometry &)
 
void operator= (const BeamlineGeometry &)
 

Private Attributes

const BeamlineitsLine
 

Detailed Description

Implements the composite geometry of a beam line.

Definition at line 31 of file BeamlineGeometry.h.

Constructor & Destructor Documentation

◆ BeamlineGeometry() [1/3]

BeamlineGeometry::BeamlineGeometry ( const Beamline line)
explicit

Constructor.

Definition at line 27 of file BeamlineGeometry.cpp.

◆ ~BeamlineGeometry()

BeamlineGeometry::~BeamlineGeometry ( )
virtual

Definition at line 29 of file BeamlineGeometry.cpp.

◆ BeamlineGeometry() [2/3]

BeamlineGeometry::BeamlineGeometry ( )
private

◆ BeamlineGeometry() [3/3]

BeamlineGeometry::BeamlineGeometry ( const BeamlineGeometry )
private

Member Function Documentation

◆ getArcLength()

double BeamlineGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 31 of file BeamlineGeometry.cpp.

References ElementBase::getArcLength(), and itsLine.

Referenced by TBeamline< T >::getArcLength().

Here is the call graph for this function:

◆ getElementLength()

double BeamlineGeometry::getElementLength ( ) const
virtual

Get element length.

Implements BGeometryBase.

Definition at line 33 of file BeamlineGeometry.cpp.

References ElementBase::getElementLength(), and itsLine.

Here is the call graph for this function:

◆ getEntrance()

double BeamlineGeometry::getEntrance ( ) const
virtual

Get entrance position.

Reimplemented from BGeometryBase.

Definition at line 37 of file BeamlineGeometry.cpp.

References ElementBase::getEntrance(), and itsLine.

Here is the call graph for this function:

◆ getEntranceFrame()

Euclid3D BeamlineGeometry::getEntranceFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 49 of file BeamlineGeometry.cpp.

References ElementBase::getEntranceFrame(), and itsLine.

Here is the call graph for this function:

◆ getEntrancePatch()

Euclid3D BGeometryBase::getEntrancePatch ( ) const
virtualinherited

Get patch.

Reimplemented in RBendGeometry.

Definition at line 45 of file Geometry.cpp.

References Euclid3D::identity().

Referenced by ElementBase::getEntrancePatch().

Here is the call graph for this function:

◆ getExit()

double BeamlineGeometry::getExit ( ) const
virtual

Get exit position.

Reimplemented from BGeometryBase.

Definition at line 39 of file BeamlineGeometry.cpp.

References ElementBase::getExit(), and itsLine.

Here is the call graph for this function:

◆ getExitFrame()

Euclid3D BeamlineGeometry::getExitFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 51 of file BeamlineGeometry.cpp.

References ElementBase::getExitFrame(), and itsLine.

Here is the call graph for this function:

◆ getExitPatch()

Euclid3D BGeometryBase::getExitPatch ( ) const
virtualinherited

Get patch.

Reimplemented in RBendGeometry.

Definition at line 47 of file Geometry.cpp.

References Euclid3D::identity().

Referenced by ElementBase::getExitPatch().

Here is the call graph for this function:

◆ getOrigin()

double BeamlineGeometry::getOrigin ( ) const
virtual

Get origin position.

Reimplemented from BGeometryBase.

Definition at line 35 of file BeamlineGeometry.cpp.

References ElementBase::getOrigin(), and itsLine.

Here is the call graph for this function:

◆ getTotalTransform()

Euclid3D BeamlineGeometry::getTotalTransform ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 45 of file BeamlineGeometry.cpp.

References ElementBase::getTotalTransform(), and itsLine.

Here is the call graph for this function:

◆ getTransform() [1/2]

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

Get transform.

Implements BGeometryBase.

Definition at line 41 of file BeamlineGeometry.cpp.

References ElementBase::getTransform(), and itsLine.

Here is the call graph for this function:

◆ getTransform() [2/2]

Euclid3D BeamlineGeometry::getTransform ( double  s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 47 of file BeamlineGeometry.cpp.

References ElementBase::getTransform(), and itsLine.

Here is the call graph for this function:

◆ operator=()

void BeamlineGeometry::operator= ( const BeamlineGeometry )
private

◆ setElementLength()

void BGeometryBase::setElementLength ( double  length)
virtualinherited

Set geometry length.

Reimplemented in Euclid3DGeometry, StraightGeometry, DummyGeometry, DummyGeometryTW, and PlanarArcGeometry.

Definition at line 29 of file Geometry.cpp.

Referenced by ElementBase::setElementLength().

Member Data Documentation

◆ itsLine


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