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

Geometry representing an identity transform. More...

#include <NullGeometry.h>

Inheritance diagram for NullGeometry:
Inheritance graph
Collaboration diagram for NullGeometry:
Collaboration graph

Public Member Functions

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

Detailed Description

Geometry representing an identity transform.

Definition at line 31 of file NullGeometry.h.

Constructor & Destructor Documentation

◆ NullGeometry() [1/2]

NullGeometry::NullGeometry ( )
inline

Definition at line 63 of file NullGeometry.h.

◆ NullGeometry() [2/2]

NullGeometry::NullGeometry ( const NullGeometry o)
inline

Definition at line 65 of file NullGeometry.h.

◆ ~NullGeometry()

NullGeometry::~NullGeometry ( )
virtual

Definition at line 27 of file NullGeometry.cpp.

Member Function Documentation

◆ getArcLength()

double NullGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 29 of file NullGeometry.cpp.

◆ getElementLength()

double NullGeometry::getElementLength ( ) const
virtual

Get design length.

Implements BGeometryBase.

Definition at line 31 of file NullGeometry.cpp.

◆ getEntrance()

double BGeometryBase::getEntrance ( ) const
virtualinherited

Get entrance position.

Reimplemented in PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.

Definition at line 33 of file Geometry.cpp.

References BGeometryBase::getOrigin().

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

Here is the call graph for this function:

◆ getEntranceFrame()

Euclid3D BGeometryBase::getEntranceFrame ( ) const
virtualinherited

Get transform.

Reimplemented in PlanarArcGeometry, RBendGeometry, StraightGeometry, and BeamlineGeometry.

Definition at line 41 of file Geometry.cpp.

References BGeometryBase::getEntrance(), and BGeometryBase::getTransform().

Referenced by ElementBase::getEntranceFrame().

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 BGeometryBase::getExit ( ) const
virtualinherited

Get exit position.

Reimplemented in PlanarArcGeometry, StraightGeometry, and BeamlineGeometry.

Definition at line 35 of file Geometry.cpp.

References BGeometryBase::getArcLength(), and BGeometryBase::getOrigin().

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

Here is the call graph for this function:

◆ getExitFrame()

Euclid3D BGeometryBase::getExitFrame ( ) const
virtualinherited

Get transform.

Reimplemented in PlanarArcGeometry, RBendGeometry, StraightGeometry, and BeamlineGeometry.

Definition at line 43 of file Geometry.cpp.

References BGeometryBase::getExit(), and BGeometryBase::getTransform().

Referenced by ElementBase::getExitFrame().

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 NullGeometry::getOrigin ( ) const
virtual

Get origin position.

Reimplemented from BGeometryBase.

Definition at line 33 of file NullGeometry.cpp.

◆ getTotalTransform()

Euclid3D BGeometryBase::getTotalTransform ( ) const
virtualinherited

Get transform.

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

Definition at line 37 of file Geometry.cpp.

References BGeometryBase::getEntrance(), BGeometryBase::getExit(), and BGeometryBase::getTransform().

Referenced by Ring::appendElement(), and ElementBase::getTotalTransform().

Here is the call graph for this function:

◆ getTransform() [1/2]

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

Get transform.

Implements BGeometryBase.

Definition at line 35 of file NullGeometry.cpp.

References Euclid3D::identity().

Here is the call graph for this function:

◆ getTransform() [2/2]

Euclid3D NullGeometry::getTransform ( double  s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 37 of file NullGeometry.cpp.

References Euclid3D::identity().

Here is the call graph for this function:

◆ operator=()

const NullGeometry & NullGeometry::operator= ( const NullGeometry )
inline

Definition at line 67 of file NullGeometry.h.

◆ 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().


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