25 LocalAverageDepthF0D___doc__,
26 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
27 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
29 ".. method:: __init__(mask_size=5.0)\n"
31 " Builds a LocalAverageDepthF0D object.\n"
33 " :arg mask_size: The size of the mask.\n"
34 " :type mask_size: float\n"
36 ".. method:: __call__(it)\n"
38 " Returns the average depth around the\n"
39 " :class:`freestyle.types.Interface0D` pointed by the\n"
40 " Interface0DIterator. The result is obtained by querying the depth\n"
41 " buffer on a window around that point.\n"
43 " :arg it: An Interface0DIterator object.\n"
44 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
45 " :return: The average depth around the pointed Interface0D.\n"
52 static const char *kwlist[] = {
"mask_size",
nullptr};
55 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|d", (
char **)kwlist, &d)) {
59 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
66 PyVarObject_HEAD_INIT(
nullptr, 0)
67 "LocalAverageDepthF0D",
85 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
86 LocalAverageDepthF0D___doc__,
Functions taking 0D input.
PyTypeObject LocalAverageDepthF0D_Type
static int LocalAverageDepthF0D___init__(BPy_LocalAverageDepthF0D *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(LocalAverageDepthF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n" "\n" ".. method:: __init__(mask_size=5.0)\n" "\n" " Builds a LocalAverageDepthF0D object.\n" "\n" " :arg mask_size: The size of the mask.\n" " :type mask_size: float\n" "\n" ".. method:: __call__(it)\n" "\n" " Returns the average depth around the\n" " :class:`freestyle.types.Interface0D` pointed by the\n" " Interface0DIterator. The result is obtained by querying the depth\n" " buffer on a window around that point.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: The average depth around the pointed Interface0D.\n" " :rtype: float\n")
PyTypeObject UnaryFunction0DDouble_Type