Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ (int pt1_idx, int pt2_idx, int pt3_idx, int pt4_idx, float lb, float ub) |
Initializes the VolumeConstraint instance. More... | |
None | __init__ (VolumeConstraint constr) |
Initializes a copy of the VolumeConstraint instance constr. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
VolumeConstraint | assign (VolumeConstraint constr) |
Replaces the current state of self with a copy of the state of the VolumeConstraint instance constr. More... | |
int | getPoint1Index () |
int | getPoint2Index () |
int | getPoint3Index () |
int | getPoint4Index () |
float | getLowerBound () |
float | getUpperBound () |
Properties | |
objectID = property(getObjectID) | |
point1Index = property(getPoint1Index) | |
point2Index = property(getPoint2Index) | |
point3Index = property(getPoint3Index) | |
point4Index = property(getPoint4Index) | |
lowerBound = property(getLowerBound) | |
upperBound = property(getUpperBound) | |
None CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.__init__ | ( | int | pt1_idx, |
int | pt2_idx, | ||
int | pt3_idx, | ||
int | pt4_idx, | ||
float | lb, | ||
float | ub | ||
) |
Initializes the VolumeConstraint instance.
pt1_idx | |
pt2_idx | |
pt3_idx | |
pt4_idx | |
lb | |
ub |
None CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.__init__ | ( | VolumeConstraint | constr | ) |
Initializes a copy of the VolumeConstraint instance constr.
constr | The VolumeConstraint instance to copy. |
int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python VolumeConstraint 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 VolumeConstraint 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()
.
VolumeConstraint CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.assign | ( | VolumeConstraint | constr | ) |
Replaces the current state of self with a copy of the state of the VolumeConstraint instance constr.
constr | The VolumeConstraint instance to copy. |
int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint1Index | ( | ) |
int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint2Index | ( | ) |
int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint3Index | ( | ) |
int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint4Index | ( | ) |
float CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getLowerBound | ( | ) |
float CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getUpperBound | ( | ) |