25 ZDiscontinuityF0D___doc__,
26 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
27 ":class:`freestyle.types.UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n"
29 ".. method:: __init__()\n"
31 " Builds a ZDiscontinuityF0D object.\n"
33 ".. method:: __call__(it)\n"
35 " Returns a real value giving the distance between the\n"
36 " :class:`freestyle.types.Interface0D` pointed by the\n"
37 " Interface0DIterator and the shape that lies behind (occludee). This\n"
38 " distance is evaluated in the camera space and normalized between 0 and\n"
39 " 1. Therefore, if no object is occluded by the shape to which the\n"
40 " Interface0D belongs to, 1 is returned.\n"
42 " :arg it: An Interface0DIterator object.\n"
43 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
44 " :return: The normalized distance between the pointed Interface0D\n"
45 " and the occludee.\n"
50 static const char *kwlist[] = {
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
56 self->py_uf0D_double.uf0D_double->py_uf0D = (PyObject *)
self;
63 PyVarObject_HEAD_INIT(
nullptr, 0)
82 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
83 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.