Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ () |
Initializes the Vector3DArrayAlignmentCalculator instance. | |
None | __init__ (Vector3DArrayAlignmentCalculator algo) |
Initializes a copy of the Vector3DArrayAlignmentCalculator instance algo. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
Vector3DArrayAlignmentCalculator | assign (Vector3DArrayAlignmentCalculator algo) |
Replaces the current state of self with a copy of the state of the Vector3DArrayAlignmentCalculator instance algo. More... | |
DMatrix | getTransform () |
bool | calculate (Vector3DArray points, Vector3DArray ref_points, bool do_center=True, int max_svd_iter=0) |
bool | calculate (Vector3DArray points, Vector3DArray ref_points, ConstFVectorExpression weights, bool do_center=True, int max_svd_iter=0) |
bool | calculate (Vector3DArray points, Vector3DArray ref_points, ConstDVectorExpression weights, bool do_center=True, int max_svd_iter=0) |
Properties | |
objectID = property(getObjectID) | |
transform = property(getTransform) | |
None CDPL.Math.Vector3DArrayAlignmentCalculator.__init__ | ( | Vector3DArrayAlignmentCalculator | algo | ) |
Initializes a copy of the Vector3DArrayAlignmentCalculator instance algo.
algo | The Vector3DArrayAlignmentCalculator instance to copy. |
int CDPL.Math.Vector3DArrayAlignmentCalculator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python Vector3DArrayAlignmentCalculator 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 Vector3DArrayAlignmentCalculator 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()
.
Vector3DArrayAlignmentCalculator CDPL.Math.Vector3DArrayAlignmentCalculator.assign | ( | Vector3DArrayAlignmentCalculator | algo | ) |
Replaces the current state of self with a copy of the state of the Vector3DArrayAlignmentCalculator instance algo.
algo | The Vector3DArrayAlignmentCalculator instance to copy. |
DMatrix CDPL.Math.Vector3DArrayAlignmentCalculator.getTransform | ( | ) |
bool CDPL.Math.Vector3DArrayAlignmentCalculator.calculate | ( | Vector3DArray | points, |
Vector3DArray | ref_points, | ||
bool | do_center = True , |
||
int | max_svd_iter = 0 |
||
) |
points | |
ref_points | |
do_center | |
max_svd_iter |
bool CDPL.Math.Vector3DArrayAlignmentCalculator.calculate | ( | Vector3DArray | points, |
Vector3DArray | ref_points, | ||
ConstFVectorExpression | weights, | ||
bool | do_center = True , |
||
int | max_svd_iter = 0 |
||
) |
points | |
ref_points | |
weights | |
do_center | |
max_svd_iter |
bool CDPL.Math.Vector3DArrayAlignmentCalculator.calculate | ( | Vector3DArray | points, |
Vector3DArray | ref_points, | ||
ConstDVectorExpression | weights, | ||
bool | do_center = True , |
||
int | max_svd_iter = 0 |
||
) |
points | |
ref_points | |
weights | |
do_center | |
max_svd_iter |