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

A simple arc in the XZ plane. More...

#include <PlanarArcGeometry.h>

Inheritance diagram for PlanarArcGeometry:
Collaboration diagram for PlanarArcGeometry:

Public Member Functions

 PlanarArcGeometry (double l, double h)
 Constructor.
 PlanarArcGeometry (double phi)
 Constructor.
 PlanarArcGeometry (const PlanarArcGeometry &)
virtual ~PlanarArcGeometry ()
const PlanarArcGeometryoperator= (const PlanarArcGeometry &)
virtual double getArcLength () const
 Get arc length.
virtual double getElementLength () const
 Get element length.
double getBendAngle () const
 Get angle.
double getCurvature () const
 Get curvature.
virtual void setBendAngle (double)
 Set angle.
void setCurvature (double)
 Set curvature.
virtual void setElementLength (double)
 Set length.
virtual double getOrigin () const
 Get origin.
double getEntrance () const
 Get entrance.
double getExit () const
 Get exit.
virtual Euclid3D getTransform (double fromS, double toS) const
 Get transform.
virtual Euclid3D getTransform (double s) const
 Get transform.
virtual Euclid3D getTotalTransform () const
 Get transform.
Euclid3D getEntranceFrame () const
 Get transform.
Euclid3D getExitFrame () const
 Get transform.
virtual Euclid3D getEntrancePatch () const
 Get patch.
virtual Euclid3D getExitPatch () const
 Get patch.

Private Attributes

double len
double h
double angle

Detailed Description

A simple arc in the XZ plane.

Definition at line 56 of file PlanarArcGeometry.h.

Constructor & Destructor Documentation

◆ PlanarArcGeometry() [1/3]

PlanarArcGeometry::PlanarArcGeometry ( double l,
double h )
inline

Constructor.

Definition at line 148 of file PlanarArcGeometry.h.

References angle, h, and len.

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

Here is the caller graph for this function:

◆ PlanarArcGeometry() [2/3]

PlanarArcGeometry::PlanarArcGeometry ( double phi)
inline

Constructor.

Definition at line 153 of file PlanarArcGeometry.h.

References angle, h, and len.

◆ PlanarArcGeometry() [3/3]

PlanarArcGeometry::PlanarArcGeometry ( const PlanarArcGeometry & rhs)
inline

Definition at line 158 of file PlanarArcGeometry.h.

References angle, BGeometryBase::BGeometryBase(), h, len, and PlanarArcGeometry().

Here is the call graph for this function:

◆ ~PlanarArcGeometry()

PlanarArcGeometry::~PlanarArcGeometry ( )
virtual

Definition at line 47 of file PlanarArcGeometry.cpp.

Member Function Documentation

◆ getArcLength()

double PlanarArcGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 51 of file PlanarArcGeometry.cpp.

References len.

◆ getBendAngle()

double PlanarArcGeometry::getBendAngle ( ) const

Get angle.

Definition at line 66 of file PlanarArcGeometry.cpp.

References angle.

◆ getCurvature()

double PlanarArcGeometry::getCurvature ( ) const

Get curvature.

Definition at line 61 of file PlanarArcGeometry.cpp.

References h.

◆ getElementLength()

double PlanarArcGeometry::getElementLength ( ) const
virtual

Get element length.

Implements BGeometryBase.

Definition at line 56 of file PlanarArcGeometry.cpp.

References len.

◆ getEntrance()

double PlanarArcGeometry::getEntrance ( ) const
virtual

Get entrance.

Reimplemented from BGeometryBase.

Definition at line 100 of file PlanarArcGeometry.cpp.

References len.

◆ getEntranceFrame()

Euclid3D PlanarArcGeometry::getEntranceFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 125 of file PlanarArcGeometry.cpp.

References h, and len.

◆ 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 PlanarArcGeometry::getExit ( ) const
virtual

Get exit.

Reimplemented from BGeometryBase.

Definition at line 105 of file PlanarArcGeometry.cpp.

References len.

◆ getExitFrame()

Euclid3D PlanarArcGeometry::getExitFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 130 of file PlanarArcGeometry.cpp.

References h, and len.

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

Get origin.

Reimplemented from BGeometryBase.

Definition at line 95 of file PlanarArcGeometry.cpp.

References len.

◆ getTotalTransform()

Euclid3D PlanarArcGeometry::getTotalTransform ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 115 of file PlanarArcGeometry.cpp.

References h, and len.

◆ getTransform() [1/2]

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

Get transform.

Implements BGeometryBase.

Definition at line 110 of file PlanarArcGeometry.cpp.

References h.

◆ getTransform() [2/2]

Euclid3D PlanarArcGeometry::getTransform ( double s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 120 of file PlanarArcGeometry.cpp.

References h.

◆ operator=()

const PlanarArcGeometry & PlanarArcGeometry::operator= ( const PlanarArcGeometry & rhs)
inline

Definition at line 163 of file PlanarArcGeometry.h.

References angle, h, len, and PlanarArcGeometry().

Here is the call graph for this function:

◆ setBendAngle()

void PlanarArcGeometry::setBendAngle ( double phi)
virtual

Set angle.

Definition at line 71 of file PlanarArcGeometry.cpp.

References angle, h, and len.

◆ setCurvature()

void PlanarArcGeometry::setCurvature ( double hh)

Set curvature.

Definition at line 77 of file PlanarArcGeometry.cpp.

References angle, h, and len.

◆ setElementLength()

void PlanarArcGeometry::setElementLength ( double l)
virtual

Set length.

Reimplemented from BGeometryBase.

Definition at line 85 of file PlanarArcGeometry.cpp.

References angle, h, and len.

Member Data Documentation

◆ angle

double PlanarArcGeometry::angle
private

◆ h

◆ len


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