23 CurveNatureF1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
25 ":class:`freestyle.types.UnaryFunction1DEdgeNature` > :class:`CurveNatureF1D`\n"
27 ".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
29 " Builds a CurveNatureF1D 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 the nature of the Interface1D (silhouette, ridge, crease, and\n"
38 " so on). Except if the Interface1D is a\n"
39 " :class:`freestyle.types.ViewEdge`, this result might be ambiguous.\n"
40 " Indeed, the Interface1D might result from the gathering of several 1D\n"
41 " elements, each one being of a different nature. An integration\n"
42 " method, such as the MEAN, might give, in this case, irrelevant\n"
45 " :arg inter: An Interface1D object.\n"
46 " :type inter: :class:`freestyle.types.Interface1D`\n"
47 " :return: The nature of the Interface1D.\n"
48 " :rtype: :class:`freestyle.types.Nature`\n");
52 static const char *kwlist[] = {
"integration_type",
nullptr};
53 PyObject *obj =
nullptr;
55 if (!PyArg_ParseTupleAndKeywords(
68 PyVarObject_HEAD_INIT(
nullptr, 0)
87 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
88 CurveNatureF1D___doc__,
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
static int CurveNatureF1D___init__(BPy_CurveNatureF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject CurveNatureF1D_Type
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 UnaryFunction1DEdgeNature_Type
Functions taking 1D input.
BPy_UnaryFunction1DEdgeNature py_uf1D_edgenature
Freestyle::UnaryFunction1D< Freestyle::Nature::EdgeNature > * uf1D_edgenature