OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
NullGeometry Class Reference

Geometry representing an identity transform. More...

#include <NullGeometry.h>

Inheritance diagram for NullGeometry:
Collaboration diagram for NullGeometry:

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 32 of file NullGeometry.h.

Constructor & Destructor Documentation

◆ NullGeometry() [1/2]

NullGeometry::NullGeometry ( )
inline

Definition at line 66 of file NullGeometry.h.

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

◆ NullGeometry() [2/2]

NullGeometry::NullGeometry ( const NullGeometry & o)
inline

Definition at line 69 of file NullGeometry.h.

References BGeometryBase::BGeometryBase(), and NullGeometry().

Here is the call graph for this function:

◆ ~NullGeometry()

NullGeometry::~NullGeometry ( )
virtual

Definition at line 28 of file NullGeometry.cpp.

Member Function Documentation

◆ getArcLength()

double NullGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 32 of file NullGeometry.cpp.

◆ getElementLength()

double NullGeometry::getElementLength ( ) const
virtual

Get design length.

Implements BGeometryBase.

Definition at line 37 of file NullGeometry.cpp.

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ getOrigin()

double NullGeometry::getOrigin ( ) const
virtual

Get origin position.

Reimplemented from BGeometryBase.

Definition at line 42 of file NullGeometry.cpp.

◆ getTotalTransform()

Euclid3D BGeometryBase::getTotalTransform ( ) const
virtualinherited

Get transform.

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

Definition at line 51 of file Geometry.cpp.

References getEntrance(), getExit(), and 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 47 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 52 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 73 of file NullGeometry.h.

References NullGeometry().

Here is the call graph for this function:

◆ setElementLength()

void BGeometryBase::setElementLength ( double length)
virtualinherited

Set geometry length.

Reimplemented in Euclid3DGeometry, PlanarArcGeometry, StraightGeometry, and VarRadiusGeometry.

Definition at line 32 of file Geometry.cpp.

Referenced by ElementBase::setElementLength().


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