Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ () |
Initializes the FRealQuaternion instance. | |
None | __init__ (FRealQuaternion q) |
Initializes a copy of the FRealQuaternion instance q. More... | |
None | __init__ (float r) |
Initializes the FRealQuaternion instance. More... | |
FRealQuaternion | set (float r=0.0) |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
float | getC1 () |
float | getC2 () |
float | getC3 () |
float | getC4 () |
object | toArray () |
FRealQuaternion | assign (FRealQuaternion q) |
Replaces the current state of self with a copy of the state of the FRealQuaternion instance q. More... | |
None | swap (FRealQuaternion q) |
FRealQuaternion | __iadd__ (float t) |
Performs the in-place addition operation self += t . More... | |
FRealQuaternion | __iadd__ (object q) |
Performs the in-place addition operation self += q . More... | |
FRealQuaternion | __isub__ (float t) |
Performs the in-place subtraction operation self -= t . More... | |
FRealQuaternion | __isub__ (object q) |
Performs the in-place subtraction operation self -= q . More... | |
FRealQuaternion | __imul__ (float t) |
Performs the in-place multiplication operation self *= t . More... | |
FRealQuaternion | __imul__ (object q) |
Performs the in-place multiplication operation self *= q . More... | |
FRealQuaternion | __idiv__ (float t) |
Performs the in-place division operation self /= t . More... | |
FRealQuaternion | __idiv__ (object q) |
Performs the in-place division operation self /= q . More... | |
FRealQuaternion | __itruediv__ (float t) |
FRealQuaternion | __itruediv__ (object q) |
bool | __eq__ (FRealQuaternion q) |
Returns the result of the comparison operation self == q . More... | |
bool | __eq__ (ConstFQuaternionExpression q) |
Returns the result of the comparison operation self == q . More... | |
bool | __ne__ (FRealQuaternion q) |
Returns the result of the comparison operation self != q . More... | |
bool | __ne__ (ConstFQuaternionExpression q) |
Returns the result of the comparison operation self != q . More... | |
str | __str__ () |
Returns a string representation of the FRealQuaternion instance. More... | |
FRealQuaternion | __pos__ () |
ConstFQuaternionExpression | __neg__ () |
ConstFQuaternionExpression | __add__ (float t) |
Returns the result of the addition operation self + t . More... | |
ConstFQuaternionExpression | __add__ (ConstFQuaternionExpression e) |
Returns the result of the addition operation self + e . More... | |
ConstFQuaternionExpression | __radd__ (float t) |
ConstFQuaternionExpression | __sub__ (float t) |
Returns the result of the subtraction operation self - t . More... | |
ConstFQuaternionExpression | __sub__ (ConstFQuaternionExpression e) |
Returns the result of the subtraction operation self - e . More... | |
ConstFQuaternionExpression | __rsub__ (float t) |
ConstFQuaternionExpression | __mul__ (float t) |
Returns the result of the multiplication operation self * t . More... | |
ConstFQuaternionExpression | __mul__ (ConstFQuaternionExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstFQuaternionExpression | __rmul__ (float t) |
ConstFQuaternionExpression | __div__ (float t) |
Returns the result of the division operation self / t . More... | |
ConstFQuaternionExpression | __div__ (ConstFQuaternionExpression e) |
Returns the result of the division operation self / e . More... | |
ConstFQuaternionExpression | __truediv__ (float t) |
ConstFQuaternionExpression | __rdiv__ (float t) |
Properties | |
objectID = property(getObjectID) | |
None CDPL.Math.FRealQuaternion.__init__ | ( | FRealQuaternion | q | ) |
Initializes a copy of the FRealQuaternion instance q.
q | The FRealQuaternion instance to copy. |
None CDPL.Math.FRealQuaternion.__init__ | ( | float | r | ) |
Initializes the FRealQuaternion instance.
r |
FRealQuaternion CDPL.Math.FRealQuaternion.set | ( | float | r = 0.0 | ) |
r |
int CDPL.Math.FRealQuaternion.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python FRealQuaternion instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two FRealQuaternion instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
float CDPL.Math.FRealQuaternion.getC1 | ( | ) |
float CDPL.Math.FRealQuaternion.getC2 | ( | ) |
float CDPL.Math.FRealQuaternion.getC3 | ( | ) |
float CDPL.Math.FRealQuaternion.getC4 | ( | ) |
object CDPL.Math.FRealQuaternion.toArray | ( | ) |
FRealQuaternion CDPL.Math.FRealQuaternion.assign | ( | FRealQuaternion | q | ) |
Replaces the current state of self with a copy of the state of the FRealQuaternion instance q.
q | The FRealQuaternion instance to copy. |
None CDPL.Math.FRealQuaternion.swap | ( | FRealQuaternion | q | ) |
q |
FRealQuaternion CDPL.Math.FRealQuaternion.__iadd__ | ( | float | t | ) |
Performs the in-place addition operation self += t
.
t | Specifies the second addend. |
FRealQuaternion CDPL.Math.FRealQuaternion.__iadd__ | ( | object | q | ) |
Performs the in-place addition operation self += q
.
q | Specifies the second addend. |
FRealQuaternion CDPL.Math.FRealQuaternion.__isub__ | ( | float | t | ) |
Performs the in-place subtraction operation self -= t
.
t | Specifies the subtrahend. |
FRealQuaternion CDPL.Math.FRealQuaternion.__isub__ | ( | object | q | ) |
Performs the in-place subtraction operation self -= q
.
q | Specifies the subtrahend. |
FRealQuaternion CDPL.Math.FRealQuaternion.__imul__ | ( | float | t | ) |
Performs the in-place multiplication operation self *= t
.
t | Specifies the multiplier. |
FRealQuaternion CDPL.Math.FRealQuaternion.__imul__ | ( | object | q | ) |
Performs the in-place multiplication operation self *= q
.
q | Specifies the multiplier. |
FRealQuaternion CDPL.Math.FRealQuaternion.__idiv__ | ( | float | t | ) |
Performs the in-place division operation self /= t
.
t | Specifies the divisor. |
FRealQuaternion CDPL.Math.FRealQuaternion.__idiv__ | ( | object | q | ) |
Performs the in-place division operation self /= q
.
q | Specifies the divisor. |
FRealQuaternion CDPL.Math.FRealQuaternion.__itruediv__ | ( | float | t | ) |
t |
FRealQuaternion CDPL.Math.FRealQuaternion.__itruediv__ | ( | object | q | ) |
q |
bool CDPL.Math.FRealQuaternion.__eq__ | ( | FRealQuaternion | q | ) |
Returns the result of the comparison operation self == q
.
q | The FRealQuaternion instance to be compared with. |
bool CDPL.Math.FRealQuaternion.__eq__ | ( | ConstFQuaternionExpression | q | ) |
Returns the result of the comparison operation self == q
.
q | The ConstFQuaternionExpression instance to be compared with. |
bool CDPL.Math.FRealQuaternion.__ne__ | ( | FRealQuaternion | q | ) |
Returns the result of the comparison operation self != q
.
q | The FRealQuaternion instance to be compared with. |
bool CDPL.Math.FRealQuaternion.__ne__ | ( | ConstFQuaternionExpression | q | ) |
Returns the result of the comparison operation self != q
.
q | The ConstFQuaternionExpression instance to be compared with. |
str CDPL.Math.FRealQuaternion.__str__ | ( | ) |
Returns a string representation of the FRealQuaternion instance.
FRealQuaternion CDPL.Math.FRealQuaternion.__pos__ | ( | ) |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__neg__ | ( | ) |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__add__ | ( | float | t | ) |
Returns the result of the addition operation self + t
.
t | Specifies the second addend. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__add__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__radd__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__sub__ | ( | float | t | ) |
Returns the result of the subtraction operation self - t
.
t | Specifies the subtrahend. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__sub__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__rsub__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__mul__ | ( | float | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__mul__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__rmul__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__div__ | ( | float | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__div__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the division operation self / e
.
e | Specifies the divisor. |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__truediv__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FRealQuaternion.__rdiv__ | ( | float | t | ) |
t |