Blender V4.3
BPy_DensityLowerThanUP1D.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (DensityLowerThanUP1D___doc__, "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")
 
static int DensityLowerThanUP1D___init__ (BPy_DensityLowerThanUP1D *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject DensityLowerThanUP1D_Type
 

Function Documentation

◆ DensityLowerThanUP1D___init__()

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

Definition at line 49 of file BPy_DensityLowerThanUP1D.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( DensityLowerThanUP1D___doc__ ,
"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"  )

Variable Documentation

◆ DensityLowerThanUP1D_Type

PyTypeObject DensityLowerThanUP1D_Type

Definition at line 65 of file BPy_DensityLowerThanUP1D.cpp.

Referenced by UnaryPredicate1D_Init().