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");
113 static const char *kwlist[] = {
nullptr};
115 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
119 self->uf0D_double->py_uf0D = (PyObject *)
self;
125 delete self->uf0D_double;
131 return PyUnicode_FromFormat(
"type: %s - address: %p", Py_TYPE(
self)->tp_name,
self->uf0D_double);
138 static const char *kwlist[] = {
"it",
nullptr};
141 if (!PyArg_ParseTupleAndKeywords(
148 PyErr_SetString(PyExc_TypeError,
"__call__ method not properly overridden");
152 if (!PyErr_Occurred()) {
153 string class_name(Py_TYPE(
self)->tp_name);
154 PyErr_SetString(PyExc_RuntimeError, (class_name +
" __call__ method failed").c_str());
158 return PyFloat_FromDouble(
self->uf0D_double->result);
164 PyVarObject_HEAD_INIT(
nullptr, 0)
165 "UnaryFunction0DDouble",
183 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
184 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