23 #include "../../../stroke/AdvancedFunctions0D.h"
36 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
37 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
39 ".. method:: __init__(mask_size=5.0)\n"
41 " Builds a LocalAverageDepthF0D object.\n"
43 " :arg mask_size: The size of the mask.\n"
44 " :type mask_size: float\n"
46 ".. method:: __call__(it)\n"
48 " Returns the average depth around the\n"
49 " :class:`freestyle.types.Interface0D` pointed by the\n"
50 " Interface0DIterator. The result is obtained by querying the depth\n"
51 " buffer on a window around that point.\n"
53 " :arg it: An Interface0DIterator object.\n"
54 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
55 " :return: The average depth around the pointed Interface0D.\n"
62 static const char *kwlist[] = {
"mask_size",
nullptr};
65 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|d", (
char **)kwlist, &d)) {
69 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
76 PyVarObject_HEAD_INIT(
nullptr, 0)
"LocalAverageDepthF0D",
94 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject LocalAverageDepthF0D_Type
static int LocalAverageDepthF0D___init__(BPy_LocalAverageDepthF0D *self, PyObject *args, PyObject *kwds)
static char LocalAverageDepthF0D___doc__[]
PyTypeObject UnaryFunction0DDouble_Type