21 LocalAverageDepthF0D___doc__,
22 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
23 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
25 ".. method:: __init__(mask_size=5.0)\n"
27 " Builds a LocalAverageDepthF0D object.\n"
29 " :arg mask_size: The size of the mask.\n"
30 " :type mask_size: float\n"
32 ".. method:: __call__(it)\n"
34 " Returns the average depth around the\n"
35 " :class:`freestyle.types.Interface0D` pointed by the\n"
36 " Interface0DIterator. The result is obtained by querying the depth\n"
37 " buffer on a window around that point.\n"
39 " :arg it: An Interface0DIterator object.\n"
40 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
41 " :return: The average depth around the pointed Interface0D.\n"
47 static const char *kwlist[] = {
"mask_size",
nullptr};
50 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|d", (
char **)kwlist, &d)) {
54 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
61 PyVarObject_HEAD_INIT(
nullptr, 0)
62 "LocalAverageDepthF0D",
80 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
81 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