23 LocalAverageDepthF1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
25 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`LocalAverageDepthF1D`\n"
27 ".. method:: __init__(sigma, integration_type=IntegrationType.MEAN)\n"
29 " Builds a LocalAverageDepthF1D object.\n"
31 " :arg sigma: The sigma used in DensityF0D and determining the window\n"
32 " size used in each density query.\n"
33 " :type sigma: float\n"
34 " :arg integration_type: The integration method used to compute a single value\n"
35 " from a set of values.\n"
36 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
38 ".. method:: __call__(inter)\n"
40 " Returns the average depth evaluated for an Interface1D. The average\n"
41 " depth is evaluated for a set of points along the Interface1D (using\n"
42 " the :class:`freestyle.functions.LocalAverageDepthF0D` functor) with a\n"
43 " user-defined sampling and then integrated into a single value using a\n"
44 " user-defined integration method.\n"
46 " :arg inter: An Interface1D object.\n"
47 " :type inter: :class:`freestyle.types.Interface1D`\n"
48 " :return: The average depth evaluated for the Interface1D.\n"
55 static const char *kwlist[] = {
"sigma",
"integration_type",
nullptr};
56 PyObject *obj =
nullptr;
59 if (!PyArg_ParseTupleAndKeywords(
72 PyVarObject_HEAD_INIT(
nullptr, 0)
73 "LocalAverageDepthF1D",
91 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
92 LocalAverageDepthF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
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 IntegrationType_Type
static int LocalAverageDepthF1D___init__(BPy_LocalAverageDepthF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject LocalAverageDepthF1D_Type
PyTypeObject UnaryFunction1DDouble_Type
BPy_UnaryFunction1DDouble py_uf1D_double
Freestyle::UnaryFunction1D< double > * uf1D_double