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"
54 static const char *kwlist[] = {
"sigma",
"integration_type",
nullptr};
55 PyObject *obj =
nullptr;
58 if (!PyArg_ParseTupleAndKeywords(
71 PyVarObject_HEAD_INIT(
nullptr, 0)
72 "LocalAverageDepthF1D",
90 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
91 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