![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
A wrapper class for various types of callable objects. More...
Inheritance diagram for CDPL.Chem.DoubleEntity3D2Functor:Public Member Functions | |
| None | __init__ () |
Contructs the DoubleEntity3D2Functor instance. | |
| None | __init__ (DoubleEntity3D2Functor func) |
Contructs a copy of the DoubleEntity3D2Functor instance func. More... | |
| None | __init__ (object callable) |
Contructs the DoubleEntity3D2Functor instance for the specified callable object. More... | |
| float | __call__ (Entity3D arg1, Entity3D arg2) |
| Invokes the wrapped callable object with the given arguments. More... | |
| bool | __bool__ () |
| Tells whether the instance holds a callable object. More... | |
| bool | __nonzero__ () |
| Tells whether the instance holds a callable object. More... | |
A wrapper class for various types of callable objects.
| None CDPL.Chem.DoubleEntity3D2Functor.__init__ | ( | DoubleEntity3D2Functor | func | ) |
Contructs a copy of the DoubleEntity3D2Functor instance func.
| func | The DoubleEntity3D2Functor instance to copy. |
| None CDPL.Chem.DoubleEntity3D2Functor.__init__ | ( | object | callable | ) |
Contructs the DoubleEntity3D2Functor instance for the specified callable object.
| callable | The callable object to wrap. |
Invokes the wrapped callable object with the given arguments.
| arg1 | The first argument to forward. |
| arg2 | The second argument to forward. |
| bool CDPL.Chem.DoubleEntity3D2Functor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Chem.DoubleEntity3D2Functor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.