9 #include "../../../view_map/Functions0D.h"
22 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
23 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n"
25 ".. method:: __init__()\n"
27 " Builds a ZDiscontinuityF0D object.\n"
29 ".. method:: __call__(it)\n"
31 " Returns a real value giving the distance between the\n"
32 " :class:`freestyle.types.Interface0D` pointed by the\n"
33 " Interface0DIterator and the shape that lies behind (occludee). This\n"
34 " distance is evaluated in the camera space and normalized between 0 and\n"
35 " 1. Therefore, if no object is occluded by the shape to which the\n"
36 " Interface0D belongs to, 1 is returned.\n"
38 " :arg it: An Interface0DIterator object.\n"
39 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
40 " :return: The normalized distance between the pointed Interface0D\n"
41 " and the occludee.\n"
46 static const char *kwlist[] = {
nullptr};
48 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
52 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
59 PyVarObject_HEAD_INIT(
nullptr, 0)
"ZDiscontinuityF0D",
77 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject UnaryFunction0DDouble_Type
static char ZDiscontinuityF0D___doc__[]
static int ZDiscontinuityF0D___init__(BPy_ZDiscontinuityF0D *self, PyObject *args, PyObject *kwds)
PyTypeObject ZDiscontinuityF0D_Type