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

A geometry which offset with respect to some global geometry. More...

#include <OffsetGeometry.h>

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

Public Member Functions

 OffsetGeometry (const BGeometryBase &global, const BGeometryBase &local, const Euclid3D &euclid)
 Constructor. More...
 
 OffsetGeometry (const BGeometryBase &geom, const Euclid3D &euclid)
 Constructor. More...
 
 OffsetGeometry (const OffsetGeometry &)
 
virtual ~OffsetGeometry ()
 
const OffsetGeometryoperator= (const OffsetGeometry &)
 
Euclid3D getGtoL () const
 Get displacement. More...
 
void setGtoL (const Euclid3D &)
 Set displacement. More...
 
virtual double getArcLength () const
 Get arc length. More...
 
virtual double getElementLength () const
 Get design length. More...
 
virtual double getOrigin () const
 Get origin. More...
 
virtual double getEntrance () const
 Get entrance position. More...
 
virtual double getExit () const
 Get exit position. 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...
 
virtual Euclid3D getEntranceFrame () const
 Get transform. More...
 
virtual Euclid3D getExitFrame () const
 Get transform. More...
 
virtual Euclid3D getEntrancePatch () const
 Get patch. More...
 
virtual Euclid3D getExitPatch () const
 Get patch. More...
 
Euclid3D getGlobalToLocalTransform (double globalS, double localS) const
 Transform global to local. More...
 
- Public Member Functions inherited from BGeometryBase
 BGeometryBase ()
 
 BGeometryBase (const BGeometryBase &right)
 
virtual ~BGeometryBase ()
 
const BGeometryBaseoperator= (const BGeometryBase &right)
 
virtual void setElementLength (double length)
 Set geometry length. More...
 

Private Attributes

const BGeometryBaseglobal
 
const BGeometryBaselocal
 
Euclid3D g2l
 

Detailed Description

A geometry which offset with respect to some global geometry.

Definition at line 42 of file OffsetGeometry.h.

Constructor & Destructor Documentation

OffsetGeometry::OffsetGeometry ( const BGeometryBase global,
const BGeometryBase local,
const Euclid3D euclid 
)

Constructor.

Definition at line 28 of file OffsetGeometry.cpp.

OffsetGeometry::OffsetGeometry ( const BGeometryBase geom,
const Euclid3D euclid 
)

Constructor.

Definition at line 34 of file OffsetGeometry.cpp.

OffsetGeometry::OffsetGeometry ( const OffsetGeometry og)

Definition at line 39 of file OffsetGeometry.cpp.

OffsetGeometry::~OffsetGeometry ( )
virtual

Definition at line 45 of file OffsetGeometry.cpp.

Member Function Documentation

double OffsetGeometry::getArcLength ( ) const
virtual

Get arc length.

Implements BGeometryBase.

Definition at line 49 of file OffsetGeometry.cpp.

References BGeometryBase::getArcLength(), and global.

Here is the call graph for this function:

double OffsetGeometry::getElementLength ( ) const
virtual

Get design length.

Implements BGeometryBase.

Definition at line 54 of file OffsetGeometry.cpp.

References BGeometryBase::getElementLength(), and global.

Here is the call graph for this function:

double OffsetGeometry::getEntrance ( ) const
virtual

Get entrance position.

Reimplemented from BGeometryBase.

Definition at line 74 of file OffsetGeometry.cpp.

References BGeometryBase::getEntrance(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getEntranceFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 99 of file OffsetGeometry.cpp.

References BGeometryBase::getEntranceFrame(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getEntrancePatch ( ) const
virtual

Get patch.

Reimplemented from BGeometryBase.

Definition at line 109 of file OffsetGeometry.cpp.

References BGeometryBase::getEntrance(), getGlobalToLocalTransform(), global, and local.

Here is the call graph for this function:

double OffsetGeometry::getExit ( ) const
virtual

Get exit position.

Reimplemented from BGeometryBase.

Definition at line 79 of file OffsetGeometry.cpp.

References BGeometryBase::getExit(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getExitFrame ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 104 of file OffsetGeometry.cpp.

References BGeometryBase::getExitFrame(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getExitPatch ( ) const
virtual

Get patch.

Reimplemented from BGeometryBase.

Definition at line 114 of file OffsetGeometry.cpp.

References BGeometryBase::getExit(), getGlobalToLocalTransform(), global, Inverse(), and local.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getGlobalToLocalTransform ( double  globalS,
double  localS 
) const

Transform global to local.

Definition at line 120 of file OffsetGeometry.cpp.

References Inverse().

Referenced by getEntrancePatch(), and getExitPatch().

Here is the call graph for this function:

Euclid3D OffsetGeometry::getGtoL ( ) const

Get displacement.

Definition at line 59 of file OffsetGeometry.cpp.

References g2l.

double OffsetGeometry::getOrigin ( ) const
virtual

Get origin.

Reimplemented from BGeometryBase.

Definition at line 69 of file OffsetGeometry.cpp.

References BGeometryBase::getOrigin(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getTotalTransform ( ) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 89 of file OffsetGeometry.cpp.

References BGeometryBase::getTotalTransform(), and global.

Here is the call graph for this function:

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

Get transform.

Implements BGeometryBase.

Definition at line 84 of file OffsetGeometry.cpp.

References BGeometryBase::getTransform(), and global.

Here is the call graph for this function:

Euclid3D OffsetGeometry::getTransform ( double  s) const
virtual

Get transform.

Reimplemented from BGeometryBase.

Definition at line 94 of file OffsetGeometry.cpp.

References BGeometryBase::getTransform(), and global.

Here is the call graph for this function:

const OffsetGeometry& OffsetGeometry::operator= ( const OffsetGeometry )
void OffsetGeometry::setGtoL ( const Euclid3D t)

Set displacement.

Definition at line 64 of file OffsetGeometry.cpp.

References g2l.

Member Data Documentation

Euclid3D OffsetGeometry::g2l
private

Definition at line 143 of file OffsetGeometry.h.

Referenced by getGtoL(), and setGtoL().

const BGeometryBase& OffsetGeometry::global
private
const BGeometryBase& OffsetGeometry::local
private

Definition at line 142 of file OffsetGeometry.h.

Referenced by getEntrancePatch(), and getExitPatch().


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