23 ZDiscontinuityF1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
25 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`ZDiscontinuityF1D`\n"
27 ".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
29 " Builds a ZDiscontinuityF1D object.\n"
31 " :arg integration_type: The integration method used to compute a single value\n"
32 " from a set of values.\n"
33 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
35 ".. method:: __call__(inter)\n"
37 " Returns a real value giving the distance between an Interface1D\n"
38 " and the shape that lies behind (occludee). This distance is\n"
39 " evaluated in the camera space and normalized between 0 and 1.\n"
40 " Therefore, if no object is occluded by the shape to which the\n"
41 " Interface1D belongs to, 1 is returned.\n"
43 " :arg inter: An Interface1D object.\n"
44 " :type inter: :class:`freestyle.types.Interface1D`\n"
45 " :return: The normalized distance between the Interface1D and the occludee.\n"
50 static const char *kwlist[] = {
"integration_type",
nullptr};
51 PyObject *obj =
nullptr;
53 if (!PyArg_ParseTupleAndKeywords(
66 PyVarObject_HEAD_INIT(
nullptr, 0)
85 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
86 ZDiscontinuityF1D___doc__,
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :arg inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :arg inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type
static int ZDiscontinuityF1D___init__(BPy_ZDiscontinuityF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject ZDiscontinuityF1D_Type
Functions taking 1D input.
Freestyle::UnaryFunction1D< double > * uf1D_double
BPy_UnaryFunction1DDouble py_uf1D_double