Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ (FVectorQuaternionAdapter a) |
Initializes a copy of the FVectorQuaternionAdapter instance a. More... | |
None | __init__ (FVectorExpression e) |
Initializes the FVectorQuaternionAdapter instance. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
FVectorQuaternionAdapter | assign (ConstFQuaternionExpression e) |
Replaces the current state of self with a copy of the state of the ConstFQuaternionExpression instance e. More... | |
FVectorQuaternionAdapter | assign (ConstDQuaternionExpression e) |
Replaces the current state of self with a copy of the state of the ConstDQuaternionExpression instance e. More... | |
FVectorQuaternionAdapter | assign (ConstLQuaternionExpression e) |
Replaces the current state of self with a copy of the state of the ConstLQuaternionExpression instance e. More... | |
FVectorQuaternionAdapter | assign (ConstULQuaternionExpression e) |
Replaces the current state of self with a copy of the state of the ConstULQuaternionExpression instance e. More... | |
FVectorQuaternionAdapter | assign (FVectorQuaternionAdapter a) |
Replaces the current state of self with a copy of the state of the FVectorQuaternionAdapter instance a. More... | |
float | getC1 () |
float | getC2 () |
float | getC3 () |
float | getC4 () |
object | toArray () |
None | swap (FVectorQuaternionAdapter a) |
None | setC1 (float v) |
None | setC2 (float v) |
None | setC3 (float v) |
None | setC4 (float v) |
None | set (float c1=0.0, float c2=0.0, float c3=0.0, float c4=0.0) |
FVectorExpression | getData () |
bool | __eq__ (FVectorQuaternionAdapter a) |
Returns the result of the comparison operation self == a . More... | |
bool | __eq__ (ConstFQuaternionExpression q) |
Returns the result of the comparison operation self == q . More... | |
bool | __ne__ (FVectorQuaternionAdapter a) |
Returns the result of the comparison operation self != a . More... | |
bool | __ne__ (ConstFQuaternionExpression q) |
Returns the result of the comparison operation self != q . More... | |
str | __str__ () |
Returns a string representation of the FVectorQuaternionAdapter instance. More... | |
FVectorQuaternionAdapter | __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) |
FVectorQuaternionAdapter | __iadd__ (float t) |
Performs the in-place addition operation self += t . More... | |
FVectorQuaternionAdapter | __iadd__ (FVectorQuaternionAdapter a) |
Performs the in-place addition operation self += a . More... | |
FVectorQuaternionAdapter | __iadd__ (ConstFQuaternionExpression q) |
Performs the in-place addition operation self += q . More... | |
FVectorQuaternionAdapter | __isub__ (float t) |
Performs the in-place subtraction operation self -= t . More... | |
FVectorQuaternionAdapter | __isub__ (FVectorQuaternionAdapter a) |
Performs the in-place subtraction operation self -= a . More... | |
FVectorQuaternionAdapter | __isub__ (ConstFQuaternionExpression q) |
Performs the in-place subtraction operation self -= q . More... | |
FVectorQuaternionAdapter | __imul__ (float t) |
Performs the in-place multiplication operation self *= t . More... | |
FVectorQuaternionAdapter | __imul__ (FVectorQuaternionAdapter a) |
Performs the in-place multiplication operation self *= a . More... | |
FVectorQuaternionAdapter | __imul__ (ConstFQuaternionExpression q) |
Performs the in-place multiplication operation self *= q . More... | |
FVectorQuaternionAdapter | __idiv__ (float t) |
Performs the in-place division operation self /= t . More... | |
FVectorQuaternionAdapter | __idiv__ (FVectorQuaternionAdapter a) |
Performs the in-place division operation self /= a . More... | |
FVectorQuaternionAdapter | __idiv__ (ConstFQuaternionExpression q) |
Performs the in-place division operation self /= q . More... | |
FVectorQuaternionAdapter | __itruediv__ (float t) |
FVectorQuaternionAdapter | __itruediv__ (FVectorQuaternionAdapter a) |
FVectorQuaternionAdapter | __itruediv__ (ConstFQuaternionExpression q) |
Properties | |
objectID = property(getObjectID) | |
data = property(getData) | |
None CDPL.Math.FVectorQuaternionAdapter.__init__ | ( | FVectorQuaternionAdapter | a | ) |
Initializes a copy of the FVectorQuaternionAdapter instance a.
a | The FVectorQuaternionAdapter instance to copy. |
None CDPL.Math.FVectorQuaternionAdapter.__init__ | ( | FVectorExpression | e | ) |
Initializes the FVectorQuaternionAdapter instance.
e |
int CDPL.Math.FVectorQuaternionAdapter.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python FVectorQuaternionAdapter 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 FVectorQuaternionAdapter 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()
.
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.assign | ( | ConstFQuaternionExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstFQuaternionExpression instance e.
e | The ConstFQuaternionExpression instance to copy. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.assign | ( | ConstDQuaternionExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstDQuaternionExpression instance e.
e | The ConstDQuaternionExpression instance to copy. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.assign | ( | ConstLQuaternionExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstLQuaternionExpression instance e.
e | The ConstLQuaternionExpression instance to copy. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.assign | ( | ConstULQuaternionExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstULQuaternionExpression instance e.
e | The ConstULQuaternionExpression instance to copy. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.assign | ( | FVectorQuaternionAdapter | a | ) |
Replaces the current state of self with a copy of the state of the FVectorQuaternionAdapter instance a.
a | The FVectorQuaternionAdapter instance to copy. |
float CDPL.Math.FVectorQuaternionAdapter.getC1 | ( | ) |
float CDPL.Math.FVectorQuaternionAdapter.getC2 | ( | ) |
float CDPL.Math.FVectorQuaternionAdapter.getC3 | ( | ) |
float CDPL.Math.FVectorQuaternionAdapter.getC4 | ( | ) |
object CDPL.Math.FVectorQuaternionAdapter.toArray | ( | ) |
None CDPL.Math.FVectorQuaternionAdapter.swap | ( | FVectorQuaternionAdapter | a | ) |
a |
None CDPL.Math.FVectorQuaternionAdapter.setC1 | ( | float | v | ) |
v |
None CDPL.Math.FVectorQuaternionAdapter.setC2 | ( | float | v | ) |
v |
None CDPL.Math.FVectorQuaternionAdapter.setC3 | ( | float | v | ) |
v |
None CDPL.Math.FVectorQuaternionAdapter.setC4 | ( | float | v | ) |
v |
None CDPL.Math.FVectorQuaternionAdapter.set | ( | float | c1 = 0.0 , |
float | c2 = 0.0 , |
||
float | c3 = 0.0 , |
||
float | c4 = 0.0 |
||
) |
c1 | |
c2 | |
c3 | |
c4 |
FVectorExpression CDPL.Math.FVectorQuaternionAdapter.getData | ( | ) |
bool CDPL.Math.FVectorQuaternionAdapter.__eq__ | ( | FVectorQuaternionAdapter | a | ) |
Returns the result of the comparison operation self == a
.
a | The FVectorQuaternionAdapter instance to be compared with. |
bool CDPL.Math.FVectorQuaternionAdapter.__eq__ | ( | ConstFQuaternionExpression | q | ) |
Returns the result of the comparison operation self == q
.
q | The ConstFQuaternionExpression instance to be compared with. |
bool CDPL.Math.FVectorQuaternionAdapter.__ne__ | ( | FVectorQuaternionAdapter | a | ) |
Returns the result of the comparison operation self != a
.
a | The FVectorQuaternionAdapter instance to be compared with. |
bool CDPL.Math.FVectorQuaternionAdapter.__ne__ | ( | ConstFQuaternionExpression | q | ) |
Returns the result of the comparison operation self != q
.
q | The ConstFQuaternionExpression instance to be compared with. |
str CDPL.Math.FVectorQuaternionAdapter.__str__ | ( | ) |
Returns a string representation of the FVectorQuaternionAdapter instance.
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__pos__ | ( | ) |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__neg__ | ( | ) |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__add__ | ( | float | t | ) |
Returns the result of the addition operation self + t
.
t | Specifies the second addend. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__add__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__radd__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__sub__ | ( | float | t | ) |
Returns the result of the subtraction operation self - t
.
t | Specifies the subtrahend. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__sub__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__rsub__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__mul__ | ( | float | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__mul__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__rmul__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__div__ | ( | float | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__div__ | ( | ConstFQuaternionExpression | e | ) |
Returns the result of the division operation self / e
.
e | Specifies the divisor. |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__truediv__ | ( | float | t | ) |
t |
ConstFQuaternionExpression CDPL.Math.FVectorQuaternionAdapter.__rdiv__ | ( | float | t | ) |
t |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__iadd__ | ( | float | t | ) |
Performs the in-place addition operation self += t
.
t | Specifies the second addend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__iadd__ | ( | FVectorQuaternionAdapter | a | ) |
Performs the in-place addition operation self += a
.
a | Specifies the second addend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__iadd__ | ( | ConstFQuaternionExpression | q | ) |
Performs the in-place addition operation self += q
.
q | Specifies the second addend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__isub__ | ( | float | t | ) |
Performs the in-place subtraction operation self -= t
.
t | Specifies the subtrahend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__isub__ | ( | FVectorQuaternionAdapter | a | ) |
Performs the in-place subtraction operation self -= a
.
a | Specifies the subtrahend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__isub__ | ( | ConstFQuaternionExpression | q | ) |
Performs the in-place subtraction operation self -= q
.
q | Specifies the subtrahend. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__imul__ | ( | float | t | ) |
Performs the in-place multiplication operation self *= t
.
t | Specifies the multiplier. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__imul__ | ( | FVectorQuaternionAdapter | a | ) |
Performs the in-place multiplication operation self *= a
.
a | Specifies the multiplier. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__imul__ | ( | ConstFQuaternionExpression | q | ) |
Performs the in-place multiplication operation self *= q
.
q | Specifies the multiplier. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__idiv__ | ( | float | t | ) |
Performs the in-place division operation self /= t
.
t | Specifies the divisor. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__idiv__ | ( | FVectorQuaternionAdapter | a | ) |
Performs the in-place division operation self /= a
.
a | Specifies the divisor. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__idiv__ | ( | ConstFQuaternionExpression | q | ) |
Performs the in-place division operation self /= q
.
q | Specifies the divisor. |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__itruediv__ | ( | float | t | ) |
t |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__itruediv__ | ( | FVectorQuaternionAdapter | a | ) |
a |
FVectorQuaternionAdapter CDPL.Math.FVectorQuaternionAdapter.__itruediv__ | ( | ConstFQuaternionExpression | q | ) |
q |