27 LocalAverageDepthF1D___doc__,
28 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
29 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`LocalAverageDepthF1D`\n"
31 ".. method:: __init__(sigma, integration_type=IntegrationType.MEAN)\n"
33 " Builds a LocalAverageDepthF1D object.\n"
35 " :arg sigma: The sigma used in DensityF0D and determining the window\n"
36 " size used in each density query.\n"
37 " :type sigma: float\n"
38 " :arg integration_type: The integration method used to compute a single value\n"
39 " from a set of values.\n"
40 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
42 ".. method:: __call__(inter)\n"
44 " Returns the average depth evaluated for an Interface1D. The average\n"
45 " depth is evaluated for a set of points along the Interface1D (using\n"
46 " the :class:`freestyle.functions.LocalAverageDepthF0D` functor) with a\n"
47 " user-defined sampling and then integrated into a single value using a\n"
48 " user-defined integration method.\n"
50 " :arg inter: An Interface1D object.\n"
51 " :type inter: :class:`freestyle.types.Interface1D`\n"
52 " :return: The average depth evaluated for the Interface1D.\n"
59 static const char *kwlist[] = {
"sigma",
"integration_type",
nullptr};
60 PyObject *obj =
nullptr;
63 if (!PyArg_ParseTupleAndKeywords(
76 PyVarObject_HEAD_INIT(
nullptr, 0)
77 "LocalAverageDepthF1D",
95 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
96 LocalAverageDepthF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyTypeObject IntegrationType_Type
PyDoc_STRVAR(LocalAverageDepthF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`LocalAverageDepthF1D`\n" "\n" ".. method:: __init__(sigma, integration_type=IntegrationType.MEAN)\n" "\n" " Builds a LocalAverageDepthF1D object.\n" "\n" " :arg sigma: The sigma used in DensityF0D and determining the window\n" " size used in each density query.\n" " :type sigma: float\n" " :arg integration_type: The integration method used to compute a single value\n" " from a set of values.\n" " :type integration_type: :class:`freestyle.types.IntegrationType`\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns the average depth evaluated for an Interface1D. The average\n" " depth is evaluated for a set of points along the Interface1D (using\n" " the :class:`freestyle.functions.LocalAverageDepthF0D` functor) with a\n" " user-defined sampling and then integrated into a single value using a\n" " user-defined integration method.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: The average depth evaluated for the Interface1D.\n" " :rtype: float\n")
static int LocalAverageDepthF1D___init__(BPy_LocalAverageDepthF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject LocalAverageDepthF1D_Type
PyTypeObject UnaryFunction1DDouble_Type