|
Blender V4.5
|
#include "BPy_DensityF1D.h"#include "../../../stroke/AdvancedFunctions1D.h"#include "../../BPy_Convert.h"#include "../../BPy_IntegrationType.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (DensityF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`DensityF1D`\n" "\n" ".. method:: __init__(sigma=2.0, integration_type=IntegrationType.MEAN, sampling=2.0)\n" "\n" " Builds a DensityF1D object.\n" "\n" " :arg sigma: The sigma used in DensityF0D and determining the window size\n" " 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" " :arg sampling: The resolution used to sample the chain: the\n" " corresponding 0D function is evaluated at each sample point and\n" " the result is obtained by combining the resulting values into a\n" " single one, following the method specified by integration_type.\n" " :type sampling: float\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns the density evaluated for an Interface1D. The density is\n" " evaluated for a set of points along the Interface1D (using the\n" " :class:`freestyle.functions.DensityF0D` functor) with a user-defined\n" " sampling and then integrated into a single value using a user-defined\n" " integration method.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: The density evaluated for an Interface1D.\n" " :rtype: float\n") | |
| static int | DensityF1D___init__ (BPy_DensityF1D *self, PyObject *args, PyObject *kwds) |
Variables | |
| PyTypeObject | DensityF1D_Type |
|
static |
Definition at line 56 of file BPy_DensityF1D.cpp.
References DensityF1D___init__(), IntegrationType_from_BPy_IntegrationType(), IntegrationType_Type, Freestyle::MEAN, BPy_DensityF1D::py_uf1D_double, and BPy_UnaryFunction1DDouble::uf1D_double.
Referenced by DensityF1D___init__().
| PyDoc_STRVAR | ( | DensityF1D___doc__ | , |
| "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` | , | ||
| " ":class:`freestyle.types.UnaryFunction1DDouble` | , | ||
| :class:`DensityF1D`\n" "\n" ".. method::__init__(sigma=2.0, integration_type=IntegrationType.MEAN, sampling=2.0)\n" "\n" " Builds a DensityF1D object.\n" "\n" " :arg sigma:The sigma used in DensityF0D and determining the window size\n" " 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" " :arg sampling:The resolution used to sample the chain:the\n" " corresponding 0D function is evaluated at each sample point and\n" " the result is obtained by combining the resulting values into a\n" " single | one, | ||
| following the method specified by integration_type.\n" " :type sampling:float\n" "\n" ".. method::__call__(inter)\n" "\n" " Returns the density evaluated for an Interface1D. The density is\n" " evaluated for a set of points along the Interface1D(using the\n" " :class:`freestyle.functions.DensityF0D` functor) with a user-defined\n" " sampling and then integrated into a single value using a user-defined\n" " integration method.\n" "\n" " :arg inter:An Interface1D object.\n" " :type inter::class:`freestyle.types.Interface1D`\n" " :return:The density evaluated for an Interface1D.\n" " :rtype:float\n" | ) |
References PyDoc_STRVAR().
| PyTypeObject DensityF1D_Type |
Definition at line 75 of file BPy_DensityF1D.cpp.
Referenced by UnaryFunction1DDouble_Init().