OETranslation

class OETranslation : public OETransBase

This class represents OETranslation.

The OETranslation class performs Cartesian translation.

The following methods are publicly inherited from OETransBase:

CreateCopy

GetInverse

Extract

Transform

Constructors

OETranslation() -> OETranslation
OETranslation(vec: OEDoubleArray) -> OETranslation
OETranslation(vec: OEFloatArray) -> OETranslation
OETranslation(dx: float, dy: float, dz: float) -> OETranslation

Default and copy constructors.

CreateCopy

CreateCopy() -> OETransBase

Deep copy constructor that returns a copy of the object. The memory for the returned OETranslation object is dynamically allocated and owned by the caller.

Extract

Extract(r: OEFloatArray, t: OEFloatArray) -> None
Extract(r: OEDoubleArray, t: OEFloatArray) -> None
Extract(r: OEFloatArray, t: OEDoubleArray) -> None
Extract(r: OEDoubleArray, t: OEDoubleArray) -> None

GetInverse

GetInverse() -> OETransBase

GetTranslation

GetTranslation(vec: OEFloatArray) -> None
GetTranslation(vec: OEDoubleArray) -> None