OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <Euclid3DGeometry.h>
Public Member Functions | |
Euclid3DGeometry (Euclid3D transformation) | |
Euclid3DGeometry (const Euclid3DGeometry &right) | |
virtual | ~Euclid3DGeometry () |
const Euclid3DGeometry & | operator= (const Euclid3DGeometry &right) |
virtual double | getArcLength () const |
Get arc length. More... | |
virtual double | getElementLength () const |
Get geometry length. More... | |
virtual void | setElementLength (double length) |
Set geometry length. More... | |
virtual Euclid3D | getTransform (double fromS, double toS) const |
virtual Euclid3D | getTotalTransform () const |
Get total transform from beginning to end. More... | |
Public Member Functions inherited from BGeometryBase | |
BGeometryBase () | |
BGeometryBase (const BGeometryBase &right) | |
virtual | ~BGeometryBase () |
const BGeometryBase & | operator= (const BGeometryBase &right) |
virtual double | getOrigin () const |
Get origin position. More... | |
virtual double | getEntrance () const |
Get entrance position. More... | |
virtual double | getExit () const |
Get exit position. More... | |
virtual Euclid3D | getTransform (double s) 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... | |
Private Attributes | |
Euclid3D | transformation_m |
class Euclid3DGeometry
Euclid3DGeometry is a straight line from input to output followed by a rotation.
Definition at line 43 of file Euclid3DGeometry.h.
Euclid3DGeometry::Euclid3DGeometry | ( | Euclid3D | transformation | ) |
Definition at line 34 of file Euclid3DGeometry.cpp.
Euclid3DGeometry::Euclid3DGeometry | ( | const Euclid3DGeometry & | right | ) |
Definition at line 38 of file Euclid3DGeometry.cpp.
|
virtual |
Definition at line 42 of file Euclid3DGeometry.cpp.
|
virtual |
Get arc length.
Implements BGeometryBase.
Definition at line 51 of file Euclid3DGeometry.cpp.
References dot(), Euclid3D::getVector(), sqrt(), and transformation_m.
Referenced by getElementLength(), and setElementLength().
|
virtual |
Get geometry length.
Implements BGeometryBase.
Definition at line 56 of file Euclid3DGeometry.cpp.
References getArcLength().
|
virtual |
Get total transform from beginning to end.
Reimplemented from BGeometryBase.
Definition at line 73 of file Euclid3DGeometry.cpp.
References transformation_m.
Referenced by Offset::bends(), Offset::operator=(), and operator==().
|
virtual |
Not Implemented - raises GeneralClassicException Get transform.
Implements BGeometryBase.
Definition at line 69 of file Euclid3DGeometry.cpp.
const Euclid3DGeometry & Euclid3DGeometry::operator= | ( | const Euclid3DGeometry & | right | ) |
Definition at line 44 of file Euclid3DGeometry.cpp.
References transformation_m.
|
virtual |
Set geometry length.
Reimplemented from BGeometryBase.
Definition at line 60 of file Euclid3DGeometry.cpp.
References getArcLength(), Euclid3D::getVector(), Euclid3D::setDisplacement(), and transformation_m.
|
private |
Definition at line 77 of file Euclid3DGeometry.h.
Referenced by getArcLength(), getTotalTransform(), operator=(), and setElementLength().