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"
48 static const char *kwlist[] = {
"mask_size",
nullptr};
51 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|d", (
char **)kwlist, &d)) {
62 PyVarObject_HEAD_INIT(
nullptr, 0)
63 "LocalAverageDepthF0D",
81 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
82 LocalAverageDepthF0D___doc__,
Functions taking 0D input.
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :arg inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :arg inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject LocalAverageDepthF0D_Type
static int LocalAverageDepthF0D___init__(BPy_LocalAverageDepthF0D *self, PyObject *args, PyObject *kwds)
PyTypeObject UnaryFunction0DDouble_Type
BPy_UnaryFunction0DDouble py_uf0D_double
Freestyle::UnaryFunction0D< double > * uf0D_double