34 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
35 ":class:`WithinImageBoundaryUP1D`\n"
37 ".. method:: __init__(xmin, ymin, xmax, ymax)\n"
39 " Builds an WithinImageBoundaryUP1D object.\n"
41 " :arg xmin: X lower bound of the image boundary.\n"
42 " :type xmin: float\n"
43 " :arg ymin: Y lower bound of the image boundary.\n"
44 " :type ymin: float\n"
45 " :arg xmax: X upper bound of the image boundary.\n"
46 " :type xmax: float\n"
47 " :arg ymax: Y upper bound of the image boundary.\n"
48 " :type ymax: float\n"
50 ".. method:: __call__(inter)\n"
52 " Returns true if the Interface1D intersects with image boundary.\n";
58 static const char *kwlist[] = {
"xmin",
"ymin",
"xmax",
"ymax",
nullptr};
59 double xmin, ymin, xmax, ymax;
61 if (!PyArg_ParseTupleAndKeywords(
62 args, kwds,
"dddd", (
char **)kwlist, &xmin, &ymin, &xmax, &ymax)) {
72 PyVarObject_HEAD_INIT(
nullptr, 0)
"WithinImageBoundaryUP1D",
90 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject UnaryPredicate1D_Type
static int WithinImageBoundaryUP1D___init__(BPy_WithinImageBoundaryUP1D *self, PyObject *args, PyObject *kwds)
PyTypeObject WithinImageBoundaryUP1D_Type
static char WithinImageBoundaryUP1D___doc__[]