Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ () |
Initializes the DGStructureGenerator instance. | |
None | __init__ (DGStructureGenerator gen) |
Initializes a copy of the DGStructureGenerator instance gen. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
DGStructureGenerator | assign (DGStructureGenerator gen) |
Replaces the current state of self with a copy of the state of the DGStructureGenerator instance gen. More... | |
Util.BitSet | getExcludedHydrogenMask () |
None | setup (Chem.MolecularGraph molgraph) |
None | setup (Chem.MolecularGraph molgraph, ForceField.MMFF94InteractionData ia_data) |
bool | generate (Math.Vector3DArray coords) |
int | getNumAtomStereoCenters () |
int | getNumBondStereoCenters () |
bool | checkAtomConfigurations (Math.Vector3DArray coords) |
bool | checkBondConfigurations (Math.Vector3DArray coords) |
DGStructureGeneratorSettings | getSettings () |
DGConstraintGenerator | getConstraintGenerator () |
Properties | |
objectID = property(getObjectID) | |
numAtomStereoCenters = property(getNumAtomStereoCenters) | |
numBondStereoCenters = property(getNumBondStereoCenters) | |
settings = property(getSettings) | |
constraintGenerator = property(getConstraintGenerator) | |
exclHydrogenMask = property(getExcludedHydrogenMask) | |
None CDPL.ConfGen.DGStructureGenerator.__init__ | ( | DGStructureGenerator | gen | ) |
Initializes a copy of the DGStructureGenerator instance gen.
gen | The DGStructureGenerator instance to copy. |
int CDPL.ConfGen.DGStructureGenerator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python DGStructureGenerator 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 DGStructureGenerator 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()
.
DGStructureGenerator CDPL.ConfGen.DGStructureGenerator.assign | ( | DGStructureGenerator | gen | ) |
Replaces the current state of self with a copy of the state of the DGStructureGenerator instance gen.
gen | The DGStructureGenerator instance to copy. |
Util.BitSet CDPL.ConfGen.DGStructureGenerator.getExcludedHydrogenMask | ( | ) |
None CDPL.ConfGen.DGStructureGenerator.setup | ( | Chem.MolecularGraph | molgraph | ) |
molgraph |
None CDPL.ConfGen.DGStructureGenerator.setup | ( | Chem.MolecularGraph | molgraph, |
ForceField.MMFF94InteractionData | ia_data | ||
) |
molgraph | |
ia_data |
bool CDPL.ConfGen.DGStructureGenerator.generate | ( | Math.Vector3DArray | coords | ) |
coords |
int CDPL.ConfGen.DGStructureGenerator.getNumAtomStereoCenters | ( | ) |
int CDPL.ConfGen.DGStructureGenerator.getNumBondStereoCenters | ( | ) |
bool CDPL.ConfGen.DGStructureGenerator.checkAtomConfigurations | ( | Math.Vector3DArray | coords | ) |
coords |
bool CDPL.ConfGen.DGStructureGenerator.checkBondConfigurations | ( | Math.Vector3DArray | coords | ) |
coords |
DGStructureGeneratorSettings CDPL.ConfGen.DGStructureGenerator.getSettings | ( | ) |
DGConstraintGenerator CDPL.ConfGen.DGStructureGenerator.getConstraintGenerator | ( | ) |