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 " :arg xmin: X lower bound of the image boundary.\n"
28 " :type xmin: float\n"
29 " :arg ymin: Y lower bound of the image boundary.\n"
30 " :type ymin: float\n"
31 " :arg xmax: X upper bound of the image boundary.\n"
32 " :type xmax: float\n"
33 " :arg 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");
44 static const char *kwlist[] = {
"xmin",
"ymin",
"xmax",
"ymax",
nullptr};
45 double xmin, ymin, xmax, ymax;
47 if (!PyArg_ParseTupleAndKeywords(
48 args, kwds,
"dddd", (
char **)kwlist, &xmin, &ymin, &xmax, &ymax))
59 PyVarObject_HEAD_INIT(
nullptr, 0)
60 "WithinImageBoundaryUP1D",
78 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
79 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" " :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 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