OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
A geometry which offset with respect to some global geometry. More...
#include <OffsetGeometry.h>
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 OffsetGeometry & | operator= (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... | |
![]() | |
BGeometryBase () | |
BGeometryBase (const BGeometryBase &right) | |
virtual | ~BGeometryBase () |
const BGeometryBase & | operator= (const BGeometryBase &right) |
virtual void | setElementLength (double length) |
Set geometry length. More... | |
Private Attributes | |
const BGeometryBase & | global |
const BGeometryBase & | local |
Euclid3D | g2l |
A geometry which offset with respect to some global geometry.
Definition at line 42 of file OffsetGeometry.h.
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.
|
virtual |
Definition at line 45 of file OffsetGeometry.cpp.
|
virtual |
Get arc length.
Implements BGeometryBase.
Definition at line 49 of file OffsetGeometry.cpp.
References BGeometryBase::getArcLength(), and global.
|
virtual |
Get design length.
Implements BGeometryBase.
Definition at line 54 of file OffsetGeometry.cpp.
References BGeometryBase::getElementLength(), and global.
|
virtual |
Get entrance position.
Reimplemented from BGeometryBase.
Definition at line 74 of file OffsetGeometry.cpp.
References BGeometryBase::getEntrance(), and global.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 99 of file OffsetGeometry.cpp.
References BGeometryBase::getEntranceFrame(), and global.
|
virtual |
Get patch.
Reimplemented from BGeometryBase.
Definition at line 109 of file OffsetGeometry.cpp.
References BGeometryBase::getEntrance(), getGlobalToLocalTransform(), global, and local.
|
virtual |
Get exit position.
Reimplemented from BGeometryBase.
Definition at line 79 of file OffsetGeometry.cpp.
References BGeometryBase::getExit(), and global.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 104 of file OffsetGeometry.cpp.
References BGeometryBase::getExitFrame(), and global.
|
virtual |
Get patch.
Reimplemented from BGeometryBase.
Definition at line 114 of file OffsetGeometry.cpp.
References BGeometryBase::getExit(), getGlobalToLocalTransform(), global, Inverse(), and local.
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().
Euclid3D OffsetGeometry::getGtoL | ( | ) | const |
|
virtual |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 69 of file OffsetGeometry.cpp.
References BGeometryBase::getOrigin(), and global.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 89 of file OffsetGeometry.cpp.
References BGeometryBase::getTotalTransform(), and global.
|
virtual |
Get transform.
Implements BGeometryBase.
Definition at line 84 of file OffsetGeometry.cpp.
References BGeometryBase::getTransform(), and global.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 94 of file OffsetGeometry.cpp.
References BGeometryBase::getTransform(), and global.
const OffsetGeometry& OffsetGeometry::operator= | ( | const OffsetGeometry & | ) |
void OffsetGeometry::setGtoL | ( | const Euclid3D & | t | ) |
|
private |
Definition at line 143 of file OffsetGeometry.h.
|
private |
Definition at line 141 of file OffsetGeometry.h.
Referenced by getArcLength(), getElementLength(), getEntrance(), getEntranceFrame(), getEntrancePatch(), getExit(), getExitFrame(), getExitPatch(), getOrigin(), getTotalTransform(), and getTransform().
|
private |
Definition at line 142 of file OffsetGeometry.h.
Referenced by getEntrancePatch(), and getExitPatch().