Blender V4.3
BPy_ZDiscontinuityF0D.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (ZDiscontinuityF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n" "\n" ".. method:: __init__()\n" "\n" " Builds a ZDiscontinuityF0D object.\n" "\n" ".. method:: __call__(it)\n" "\n" " Returns a real value giving the distance between the\n" " :class:`freestyle.types.Interface0D` pointed by the\n" " Interface0DIterator and the shape that lies behind (occludee). This\n" " distance is evaluated in the camera space and normalized between 0 and\n" " 1. Therefore, if no object is occluded by the shape to which the\n" " Interface0D belongs to, 1 is returned.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: The normalized distance between the pointed Interface0D\n" " and the occludee.\n" " :rtype: float\n")
 
static int ZDiscontinuityF0D___init__ (BPy_ZDiscontinuityF0D *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject ZDiscontinuityF0D_Type
 

Function Documentation

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( ZDiscontinuityF0D___doc__ ,
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` ,
" ":class:`freestyle.types.UnaryFunction0DDouble` ,
:class:`ZDiscontinuityF0D`\n" "\n" ".. method::__init__()\n" "\n" " Builds a ZDiscontinuityF0D object.\n" "\n" ".. method::__call__(it)\n" "\n" " Returns a real value giving the distance between the\n" " :class:`freestyle.types.Interface0D` pointed by the\n" " Interface0DIterator and the shape that lies behind(occludee). This\n" " distance is evaluated in the camera space and normalized between 0 and\n" " 1. Therefore,
if no object is occluded by the shape to which the\n" " Interface0D belongs to,
1 is returned.\n" "\n" " :arg it:An Interface0DIterator object.\n" " :type it::class:`freestyle.types.Interface0DIterator`\n" " :return:The normalized distance between the pointed Interface0D\n" " and the occludee.\n" " :rtype:float\n"  )

◆ ZDiscontinuityF0D___init__()

static int ZDiscontinuityF0D___init__ ( BPy_ZDiscontinuityF0D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 48 of file BPy_ZDiscontinuityF0D.cpp.

References self.

Variable Documentation

◆ ZDiscontinuityF0D_Type

PyTypeObject ZDiscontinuityF0D_Type

Definition at line 62 of file BPy_ZDiscontinuityF0D.cpp.

Referenced by UnaryFunction0DDouble_Init().