26 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
27 ":class:`freestyle.types.UnaryFunction0DId` > :class:`ShapeIdF0D`\n"
29 ".. method:: __init__()\n"
31 " Builds a ShapeIdF0D object.\n"
33 ".. method:: __call__(it)\n"
35 " Returns the :class:`freestyle.types.Id` of the Shape the\n"
36 " :class:`freestyle.types.Interface0D` pointed by the\n"
37 " Interface0DIterator belongs to. This evaluation can be ambiguous (in\n"
38 " the case of a :class:`freestyle.types.TVertex` for example). This\n"
39 " functor tries to remove this ambiguity using the context offered by\n"
40 " the 1D element to which the Interface0DIterator belongs to. However,\n"
41 " there still can be problematic cases, and the user willing to deal\n"
42 " with this cases in a specific way should implement its own\n"
43 " getShapeIdF0D functor.\n"
45 " :arg it: An Interface0DIterator object.\n"
46 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
47 " :return: The Id of the Shape the pointed Interface0D belongs to.\n"
48 " :rtype: :class:`freestyle.types.Id`\n");
52 static const char *kwlist[] = {
nullptr};
54 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
58 self->py_uf0D_id.uf0D_id->py_uf0D = (PyObject *)
self;
65 PyVarObject_HEAD_INIT(
nullptr, 0)
84 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyDoc_STRVAR(ShapeIdF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DId` > :class:`ShapeIdF0D`\n" "\n" ".. method:: __init__()\n" "\n" " Builds a ShapeIdF0D object.\n" "\n" ".. method:: __call__(it)\n" "\n" " Returns the :class:`freestyle.types.Id` of the Shape the\n" " :class:`freestyle.types.Interface0D` pointed by the\n" " Interface0DIterator belongs to. This evaluation can be ambiguous (in\n" " the case of a :class:`freestyle.types.TVertex` for example). This\n" " functor tries to remove this ambiguity using the context offered by\n" " the 1D element to which the Interface0DIterator belongs to. However,\n" " there still can be problematic cases, and the user willing to deal\n" " with this cases in a specific way should implement its own\n" " getShapeIdF0D functor.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: The Id of the Shape the pointed Interface0D belongs to.\n" " :rtype: :class:`freestyle.types.Id`\n")
static int ShapeIdF0D___init__(BPy_ShapeIdF0D *self, PyObject *args, PyObject *kwds)
PyTypeObject ShapeIdF0D_Type
PyTypeObject UnaryFunction0DId_Type
Functions taking 0D input.