19 WithinImageBoundaryUP1D___doc__,
20 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
21 ":class:`WithinImageBoundaryUP1D`\n"
23 ".. method:: __init__(xmin, ymin, xmax, ymax)\n"
25 " Builds an WithinImageBoundaryUP1D object.\n"
27 " :param xmin: X lower bound of the image boundary.\n"
28 " :type xmin: float\n"
29 " :param ymin: Y lower bound of the image boundary.\n"
30 " :type ymin: float\n"
31 " :param xmax: X upper bound of the image boundary.\n"
32 " :type xmax: float\n"
33 " :param ymax: Y upper bound of the image boundary.\n"
34 " :type ymax: float\n"
36 ".. method:: __call__(inter)\n"
38 " Returns true if the Interface1D intersects with image boundary.\n"
40 " :param inter: The Interface1D to test.\n"
41 " :type inter: :class:`freestyle.types.Interface1D`\n"
47 static const char *kwlist[] = {
"xmin",
"ymin",
"xmax",
"ymax",
nullptr};
48 double xmin, ymin, xmax, ymax;
50 if (!PyArg_ParseTupleAndKeywords(args,
72 PyVarObject_HEAD_INIT(
nullptr, 0)
73 "WithinImageBoundaryUP1D",
91 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
92 WithinImageBoundaryUP1D___doc__,
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" " :param inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :param inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject UnaryPredicate1D_Type
static int WithinImageBoundaryUP1D___init__(BPy_WithinImageBoundaryUP1D *self, PyObject *args, PyObject *kwds)
PyTypeObject WithinImageBoundaryUP1D_Type
PyObject_HEAD Freestyle::UnaryPredicate1D * up1D
BPy_UnaryPredicate1D py_up1D