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)) {
58 PyVarObject_HEAD_INIT(
nullptr, 0)
"WithinImageBoundaryUP1D",
76 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__[]