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