Blender  V3.3
Functions | Variables
BPy_LocalAverageDepthF0D.cpp File Reference
#include "BPy_LocalAverageDepthF0D.h"
#include "../../../stroke/AdvancedFunctions0D.h"

Go to the source code of this file.

Functions

static int LocalAverageDepthF0D___init__ (BPy_LocalAverageDepthF0D *self, PyObject *args, PyObject *kwds)
 

Variables

static char LocalAverageDepthF0D___doc__ []
 
PyTypeObject LocalAverageDepthF0D_Type
 

Function Documentation

◆ LocalAverageDepthF0D___init__()

static int LocalAverageDepthF0D___init__ ( BPy_LocalAverageDepthF0D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 44 of file BPy_LocalAverageDepthF0D.cpp.

Variable Documentation

◆ LocalAverageDepthF0D___doc__

char LocalAverageDepthF0D___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
":class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
"\n"
".. method:: __init__(mask_size=5.0)\n"
"\n"
" Builds a LocalAverageDepthF0D object.\n"
"\n"
" :arg mask_size: The size of the mask.\n"
" :type mask_size: float\n"
"\n"
".. method:: __call__(it)\n"
"\n"
" Returns the average depth around the\n"
" :class:`freestyle.types.Interface0D` pointed by the\n"
" Interface0DIterator. The result is obtained by querying the depth\n"
" buffer on a window around that point.\n"
"\n"
" :arg it: An Interface0DIterator object.\n"
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
" :return: The average depth around the pointed Interface0D.\n"
" :rtype: float\n"

Definition at line 21 of file BPy_LocalAverageDepthF0D.cpp.

◆ LocalAverageDepthF0D_Type

PyTypeObject LocalAverageDepthF0D_Type

Definition at line 61 of file BPy_LocalAverageDepthF0D.cpp.

Referenced by UnaryFunction0DDouble_Init().