32 PyModule_AddObjectRef(
52 UnaryFunction0DViewShape___doc__,
53 "Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DViewShape`\n"
55 "Base class for unary functions (functors) that work on\n"
56 ":class:`Interface0DIterator` and return a :class:`ViewShape` object.\n"
58 ".. method:: __init__()\n"
60 " Default constructor.\n");
65 static const char *kwlist[] = {
nullptr};
67 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
71 self->uf0D_viewshape->py_uf0D = (PyObject *)
self;
77 delete self->uf0D_viewshape;
83 return PyUnicode_FromFormat(
84 "type: %s - address: %p", Py_TYPE(
self)->tp_name,
self->uf0D_viewshape);
91 static const char *kwlist[] = {
"it",
nullptr};
94 if (!PyArg_ParseTupleAndKeywords(
101 PyErr_SetString(PyExc_TypeError,
"__call__ method not properly overridden");
105 if (!PyErr_Occurred()) {
106 string class_name(Py_TYPE(
self)->tp_name);
107 PyErr_SetString(PyExc_RuntimeError, (class_name +
" __call__ method failed").c_str());
117 PyVarObject_HEAD_INIT(
nullptr, 0)
118 "UnaryFunction0DViewShape",
136 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
137 UnaryFunction0DViewShape___doc__,
PyObject * BPy_ViewShape_from_ViewShape(ViewShape &vs)
PyTypeObject GetOccludeeF0D_Type
PyTypeObject GetShapeF0D_Type
PyTypeObject Interface0DIterator_Type
static int UnaryFunction0DViewShape___init__(BPy_UnaryFunction0DViewShape *self, PyObject *args, PyObject *kwds)
static void UnaryFunction0DViewShape___dealloc__(BPy_UnaryFunction0DViewShape *self)
int UnaryFunction0DViewShape_Init(PyObject *module)
static PyObject * UnaryFunction0DViewShape___repr__(BPy_UnaryFunction0DViewShape *self)
PyDoc_STRVAR(UnaryFunction0DViewShape___doc__, "Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DViewShape`\n" "\n" "Base class for unary functions (functors) that work on\n" ":class:`Interface0DIterator` and return a :class:`ViewShape` object.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n")
static PyObject * UnaryFunction0DViewShape___call__(BPy_UnaryFunction0DViewShape *self, PyObject *args, PyObject *kwds)
PyTypeObject UnaryFunction0DViewShape_Type
PyTypeObject UnaryFunction0D_Type
static struct PyModuleDef module