Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | Properties | List of all members
CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint Class Reference
+ Inheritance diagram for CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint:

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)
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

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.

Parameters
pt1_idx
pt2_idx
pt3_idx
pt4_idx
lb
ub

◆ __init__() [2/2]

None CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.__init__ ( VolumeConstraint  constr)

Initializes a copy of the VolumeConstraint instance constr.

Parameters
constrThe VolumeConstraint instance to copy.

Member Function Documentation

◆ getObjectID()

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().

Returns
The numeric ID of the internally referenced C++ class instance.

◆ assign()

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.

Parameters
constrThe VolumeConstraint instance to copy.
Returns
self

◆ getPoint1Index()

int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint1Index ( )
Returns

◆ getPoint2Index()

int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint2Index ( )
Returns

◆ getPoint3Index()

int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint3Index ( )
Returns

◆ getPoint4Index()

int CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getPoint4Index ( )
Returns

◆ getLowerBound()

float CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getLowerBound ( )
Returns

◆ getUpperBound()

float CDPL.Util.DG3DCoordinatesGenerator.VolumeConstraint.getUpperBound ( )
Returns