Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ () |
Initializes the TopologicalEntity3DAlignment instance. | |
None | __init__ (TopologicalEntity3DAlignment alignment) |
Initializes a copy of the TopologicalEntity3DAlignment instance alignment. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
None | setEntityMatchFunction (BoolEntity3D2Functor func) |
BoolEntity3D2Functor | getEntityMatchFunction () |
None | setEntityPairMatchFunction (BoolEntity3D4Functor func) |
BoolEntity3D4Functor | getEntityPairMatchFunction () |
None | addEntity (Entity3D entity, bool first_set) |
None | clearEntities (bool first_set) |
int | getNumEntities (bool first_set) |
object | getEntities (bool first_set) |
Entity3D | getEntity (int idx, bool first_set) |
None | reset () |
bool | nextAlignment (Util.STPairArray mapping) |
TopologicalEntity3DAlignment | assign (TopologicalEntity3DAlignment alignment) |
Replaces the current state of self with a copy of the state of the TopologicalEntity3DAlignment instance alignment. More... | |
Properties | |
objectID = property(getObjectID) | |
entityMatchFunction = property(getEntityMatchFunction, setEntityMatchFunction) | |
entityPairMatchFunction = property(getEntityPairMatchFunction, setEntityPairMatchFunction) | |
None CDPL.Chem.TopologicalEntity3DAlignment.__init__ | ( | TopologicalEntity3DAlignment | alignment | ) |
Initializes a copy of the TopologicalEntity3DAlignment instance alignment.
alignment | The TopologicalEntity3DAlignment instance to copy. |
int CDPL.Chem.TopologicalEntity3DAlignment.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python TopologicalEntity3DAlignment 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 TopologicalEntity3DAlignment 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()
.
None CDPL.Chem.TopologicalEntity3DAlignment.setEntityMatchFunction | ( | BoolEntity3D2Functor | func | ) |
func |
BoolEntity3D2Functor CDPL.Chem.TopologicalEntity3DAlignment.getEntityMatchFunction | ( | ) |
None CDPL.Chem.TopologicalEntity3DAlignment.setEntityPairMatchFunction | ( | BoolEntity3D4Functor | func | ) |
func |
BoolEntity3D4Functor CDPL.Chem.TopologicalEntity3DAlignment.getEntityPairMatchFunction | ( | ) |
None CDPL.Chem.TopologicalEntity3DAlignment.addEntity | ( | Entity3D | entity, |
bool | first_set | ||
) |
entity | |
first_set |
None CDPL.Chem.TopologicalEntity3DAlignment.clearEntities | ( | bool | first_set | ) |
first_set |
int CDPL.Chem.TopologicalEntity3DAlignment.getNumEntities | ( | bool | first_set | ) |
first_set |
object CDPL.Chem.TopologicalEntity3DAlignment.getEntities | ( | bool | first_set | ) |
first_set |
Entity3D CDPL.Chem.TopologicalEntity3DAlignment.getEntity | ( | int | idx, |
bool | first_set | ||
) |
idx | |
first_set |
bool CDPL.Chem.TopologicalEntity3DAlignment.nextAlignment | ( | Util.STPairArray | mapping | ) |
mapping |
TopologicalEntity3DAlignment CDPL.Chem.TopologicalEntity3DAlignment.assign | ( | TopologicalEntity3DAlignment | alignment | ) |
Replaces the current state of self with a copy of the state of the TopologicalEntity3DAlignment instance alignment.
alignment | The TopologicalEntity3DAlignment instance to copy. |