21 ZDiscontinuityF0D___doc__,
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"
45 static const char *kwlist[] = {
nullptr};
47 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
51 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
58 PyVarObject_HEAD_INIT(
nullptr, 0)
77 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
78 ZDiscontinuityF0D___doc__,
PyTypeObject UnaryFunction0DDouble_Type
static int ZDiscontinuityF0D___init__(BPy_ZDiscontinuityF0D *self, PyObject *args, PyObject *kwds)
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")
PyTypeObject ZDiscontinuityF0D_Type
Functions taking 0D input.