23 Curvature2DAngleF1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
25 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`Curvature2DAngleF1D`\n"
27 ".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
29 " Builds a Curvature2DAngleF1D object.\n"
31 " :param 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 2D curvature as an angle for an Interface1D.\n"
39 " :param inter: An Interface1D object.\n"
40 " :type inter: :class:`freestyle.types.Interface1D`\n"
41 " :return: The 2D curvature as an angle.\n"
47 static const char *kwlist[] = {
"integration_type",
nullptr};
48 PyObject *obj =
nullptr;
50 if (!PyArg_ParseTupleAndKeywords(args,
68 PyVarObject_HEAD_INIT(
nullptr, 0)
69 "Curvature2DAngleF1D",
87 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
88 Curvature2DAngleF1D___doc__,
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyTypeObject Curvature2DAngleF1D_Type
static int Curvature2DAngleF1D___init__(BPy_Curvature2DAngleF1D *self, PyObject *args, PyObject *kwds)
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 IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type
Functions taking 1D input.
BPy_UnaryFunction1DDouble py_uf1D_double
Freestyle::UnaryFunction1D< double > * uf1D_double