27 Curvature2DAngleF1D___doc__,
28 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
29 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`Curvature2DAngleF1D`\n"
31 ".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
33 " Builds a Curvature2DAngleF1D object.\n"
35 " :arg integration_type: The integration method used to compute a single value\n"
36 " from a set of values.\n"
37 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
39 ".. method:: __call__(inter)\n"
41 " Returns the 2D curvature as an angle for an Interface1D.\n"
43 " :arg inter: An Interface1D object.\n"
44 " :type inter: :class:`freestyle.types.Interface1D`\n"
45 " :return: The 2D curvature as an angle.\n"
52 static const char *kwlist[] = {
"integration_type",
nullptr};
53 PyObject *obj =
nullptr;
55 if (!PyArg_ParseTupleAndKeywords(
67 PyVarObject_HEAD_INIT(
nullptr, 0)
68 "Curvature2DAngleF1D",
86 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
87 Curvature2DAngleF1D___doc__,
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyDoc_STRVAR(Curvature2DAngleF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`Curvature2DAngleF1D`\n" "\n" ".. method:: __init__(integration_type=IntegrationType.MEAN)\n" "\n" " Builds a Curvature2DAngleF1D object.\n" "\n" " :arg integration_type: The integration method used to compute a single value\n" " from a set of values.\n" " :type integration_type: :class:`freestyle.types.IntegrationType`\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns the 2D curvature as an angle for an Interface1D.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: The 2D curvature as an angle.\n" " :rtype: float\n")
PyTypeObject Curvature2DAngleF1D_Type
static int Curvature2DAngleF1D___init__(BPy_Curvature2DAngleF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type
Functions taking 1D input.