Blender  V3.3
Functions | Variables
BPy_LocalAverageDepthF1D.cpp File Reference
#include "BPy_LocalAverageDepthF1D.h"
#include "../../../stroke/AdvancedFunctions1D.h"
#include "../../BPy_Convert.h"
#include "../../BPy_IntegrationType.h"

Go to the source code of this file.

Functions

static int LocalAverageDepthF1D___init__ (BPy_LocalAverageDepthF1D *self, PyObject *args, PyObject *kwds)
 

Variables

static char LocalAverageDepthF1D___doc__ []
 
PyTypeObject LocalAverageDepthF1D_Type
 

Function Documentation

◆ LocalAverageDepthF1D___init__()

static int LocalAverageDepthF1D___init__ ( BPy_LocalAverageDepthF1D self,
PyObject *  args,
PyObject *  kwds 
)
static

Variable Documentation

◆ LocalAverageDepthF1D___doc__

char LocalAverageDepthF1D___doc__[]
static
Initial value:
=
"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"

Definition at line 23 of file BPy_LocalAverageDepthF1D.cpp.

◆ LocalAverageDepthF1D_Type

PyTypeObject LocalAverageDepthF1D_Type

Definition at line 70 of file BPy_LocalAverageDepthF1D.cpp.

Referenced by UnaryFunction1DDouble_Init().