99 UnaryFunction0DDouble___doc__,
100 "Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble`\n"
102 "Base class for unary functions (functors) that work on\n"
103 ":class:`Interface0DIterator` and return a float value.\n"
105 ".. method:: __init__()\n"
107 " Default constructor.\n");
112 static const char *kwlist[] = {
nullptr};
114 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
118 self->uf0D_double->py_uf0D = (PyObject *)
self;
124 delete self->uf0D_double;
130 return PyUnicode_FromFormat(
"type: %s - address: %p", Py_TYPE(
self)->tp_name,
self->uf0D_double);
137 static const char *kwlist[] = {
"it",
nullptr};
140 if (!PyArg_ParseTupleAndKeywords(
147 PyErr_SetString(PyExc_TypeError,
"__call__ method not properly overridden");
151 if (!PyErr_Occurred()) {
152 string class_name(Py_TYPE(
self)->tp_name);
153 PyErr_SetString(PyExc_RuntimeError, (class_name +
" __call__ method failed").c_str());
157 return PyFloat_FromDouble(
self->uf0D_double->result);
163 PyVarObject_HEAD_INIT(
nullptr, 0)
164 "UnaryFunction0DDouble",
182 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
183 UnaryFunction0DDouble___doc__,
PyTypeObject Curvature2DAngleF0D_Type
PyTypeObject DensityF0D_Type
PyTypeObject GetProjectedXF0D_Type
PyTypeObject GetProjectedYF0D_Type
PyTypeObject GetProjectedZF0D_Type
PyTypeObject GetXF0D_Type
PyTypeObject GetYF0D_Type
PyTypeObject GetZF0D_Type
PyTypeObject Interface0DIterator_Type
PyTypeObject LocalAverageDepthF0D_Type
PyDoc_STRVAR(UnaryFunction0DDouble___doc__, "Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble`\n" "\n" "Base class for unary functions (functors) that work on\n" ":class:`Interface0DIterator` and return a float value.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n")
static PyObject * UnaryFunction0DDouble___call__(BPy_UnaryFunction0DDouble *self, PyObject *args, PyObject *kwds)
static void UnaryFunction0DDouble___dealloc__(BPy_UnaryFunction0DDouble *self)
int UnaryFunction0DDouble_Init(PyObject *module)
static int UnaryFunction0DDouble___init__(BPy_UnaryFunction0DDouble *self, PyObject *args, PyObject *kwds)
PyTypeObject UnaryFunction0DDouble_Type
static PyObject * UnaryFunction0DDouble___repr__(BPy_UnaryFunction0DDouble *self)
PyTypeObject UnaryFunction0D_Type
PyTypeObject ZDiscontinuityF0D_Type
static struct PyModuleDef module