23 #include "../../../view_map/Functions0D.h"
36 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
37 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n"
39 ".. method:: __init__()\n"
41 " Builds a ZDiscontinuityF0D object.\n"
43 ".. method:: __call__(it)\n"
45 " Returns a real value giving the distance between the\n"
46 " :class:`freestyle.types.Interface0D` pointed by the\n"
47 " Interface0DIterator and the shape that lies behind (occludee). This\n"
48 " distance is evaluated in the camera space and normalized between 0 and\n"
49 " 1. Therefore, if no object is occluded by the shape to which the\n"
50 " Interface0D belongs to, 1 is returned.\n"
52 " :arg it: An Interface0DIterator object.\n"
53 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
54 " :return: The normalized distance between the pointed Interface0D\n"
55 " and the occludee.\n"
60 static const char *kwlist[] = {
nullptr};
62 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
66 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
73 PyVarObject_HEAD_INIT(
nullptr, 0)
"ZDiscontinuityF0D",
91 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