OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
PlanarArcGeometry Class Reference

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

#include <PlanarArcGeometry.h>

Inheritance diagram for PlanarArcGeometry:
Inheritance graph
[legend]
Collaboration diagram for PlanarArcGeometry:
Collaboration graph
[legend]

Public Member Functions

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

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::PlanarArcGeometry ( double  l,
double  h 
)
inline

Constructor.

Definition at line 148 of file PlanarArcGeometry.h.

PlanarArcGeometry::PlanarArcGeometry ( double  phi)
inline

Constructor.

Definition at line 153 of file PlanarArcGeometry.h.

PlanarArcGeometry::PlanarArcGeometry ( const PlanarArcGeometry rhs)
inline

Definition at line 158 of file PlanarArcGeometry.h.

PlanarArcGeometry::~PlanarArcGeometry ( )
virtual

Definition at line 45 of file PlanarArcGeometry.cpp.

Member Function Documentation

double PlanarArcGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 49 of file PlanarArcGeometry.cpp.

References len.

Referenced by OrbitTracker::visitSBend(), LinearMapper::visitSBend(), and TransportMapper::visitSBend().

double PlanarArcGeometry::getBendAngle ( ) const
double PlanarArcGeometry::getCurvature ( ) const
double PlanarArcGeometry::getElementLength ( ) const
virtual
double PlanarArcGeometry::getEntrance ( ) const
virtual

Get entrance.

Reimplemented from BGeometryBase.

Definition at line 94 of file PlanarArcGeometry.cpp.

References len.

Euclid3D PlanarArcGeometry::getEntranceFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 119 of file PlanarArcGeometry.cpp.

References len.

double PlanarArcGeometry::getExit ( ) const
virtual

Get exit.

Reimplemented from BGeometryBase.

Definition at line 99 of file PlanarArcGeometry.cpp.

References len.

Euclid3D PlanarArcGeometry::getExitFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 124 of file PlanarArcGeometry.cpp.

References len.

double PlanarArcGeometry::getOrigin ( ) const
virtual

Get origin.

Reimplemented from BGeometryBase.

Definition at line 89 of file PlanarArcGeometry.cpp.

References len.

Euclid3D PlanarArcGeometry::getTotalTransform ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 109 of file PlanarArcGeometry.cpp.

References len.

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

Get transform.

Implements BGeometryBase.

Definition at line 104 of file PlanarArcGeometry.cpp.

Euclid3D PlanarArcGeometry::getTransform ( double  s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 114 of file PlanarArcGeometry.cpp.

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

Definition at line 164 of file PlanarArcGeometry.h.

References len.

void PlanarArcGeometry::setBendAngle ( double  phi)
virtual

Set angle.

Definition at line 69 of file PlanarArcGeometry.cpp.

References angle, and len.

void PlanarArcGeometry::setCurvature ( double  hh)
void PlanarArcGeometry::setElementLength ( double  l)
virtual

Member Data Documentation

double PlanarArcGeometry::angle
private

Definition at line 143 of file PlanarArcGeometry.h.

Referenced by getBendAngle(), setBendAngle(), setCurvature(), and setElementLength().

double PlanarArcGeometry::h
private

Definition at line 142 of file PlanarArcGeometry.h.

Referenced by getCurvature().

double PlanarArcGeometry::len
private

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