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

Go to the source code of this file.

Functions

static int DensityLowerThanUP1D___init__ (BPy_DensityLowerThanUP1D *self, PyObject *args, PyObject *kwds)
 

Variables

static char DensityLowerThanUP1D___doc__ []
 
PyTypeObject DensityLowerThanUP1D_Type
 

Function Documentation

◆ DensityLowerThanUP1D___init__()

static int DensityLowerThanUP1D___init__ ( BPy_DensityLowerThanUP1D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 45 of file BPy_DensityLowerThanUP1D.cpp.

Variable Documentation

◆ DensityLowerThanUP1D___doc__

char DensityLowerThanUP1D___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`DensityLowerThanUP1D`\n"
"\n"
".. method:: __init__(threshold, sigma=2.0)\n"
"\n"
" Builds a DensityLowerThanUP1D object.\n"
"\n"
" :arg threshold: The value of the threshold density. Any Interface1D\n"
" having a density lower than this threshold will match.\n"
" :type threshold: float\n"
" :arg sigma: The sigma value defining the density evaluation window\n"
" size used in the :class:`freestyle.functions.DensityF0D` functor.\n"
" :type sigma: float\n"
"\n"
".. method:: __call__(inter)\n"
"\n"
" Returns true if the density evaluated for the Interface1D is less\n"
" than a user-defined density value.\n"
"\n"
" :arg inter: An Interface1D object.\n"
" :type inter: :class:`freestyle.types.Interface1D`\n"
" :return: True if the density is lower than a threshold.\n"
" :rtype: bool\n"

Definition at line 21 of file BPy_DensityLowerThanUP1D.cpp.

◆ DensityLowerThanUP1D_Type

PyTypeObject DensityLowerThanUP1D_Type

Definition at line 61 of file BPy_DensityLowerThanUP1D.cpp.

Referenced by UnaryPredicate1D_Init().