26 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
27 ":class:`freestyle.types.UnaryFunction0DMaterial` > :class:`MaterialF0D`\n"
29 ".. method:: __init__()\n"
31 " Builds a MaterialF0D object.\n"
33 ".. method:: __call__(it)\n"
35 " Returns the material of the object evaluated at the\n"
36 " :class:`freestyle.types.Interface0D` pointed by the\n"
37 " Interface0DIterator. This evaluation can be ambiguous (in the case of\n"
38 " a :class:`freestyle.types.TVertex` for example. This functor tries to\n"
39 " remove this ambiguity using the context offered by the 1D element to\n"
40 " which the Interface0DIterator belongs to and by arbitrary choosing the\n"
41 " material of the face that lies on its left when following the 1D\n"
42 " element if there are two different materials on each side of the\n"
43 " point. However, there still can be problematic cases, and the user\n"
44 " willing to deal with this cases in a specific way should implement its\n"
45 " own getMaterial functor.\n"
47 " :arg it: An Interface0DIterator object.\n"
48 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
49 " :return: The material of the object evaluated at the pointed\n"
51 " :rtype: :class:`freestyle.types.Material`\n");
55 static const char *kwlist[] = {
nullptr};
57 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
61 self->py_uf0D_material.uf0D_material->py_uf0D = (PyObject *)
self;
68 PyVarObject_HEAD_INIT(
nullptr, 0)
87 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject MaterialF0D_Type
PyDoc_STRVAR(MaterialF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DMaterial` > :class:`MaterialF0D`\n" "\n" ".. method:: __init__()\n" "\n" " Builds a MaterialF0D object.\n" "\n" ".. method:: __call__(it)\n" "\n" " Returns the material of the object evaluated at the\n" " :class:`freestyle.types.Interface0D` pointed by the\n" " Interface0DIterator. This evaluation can be ambiguous (in the case of\n" " a :class:`freestyle.types.TVertex` for example. This functor tries to\n" " remove this ambiguity using the context offered by the 1D element to\n" " which the Interface0DIterator belongs to and by arbitrary choosing the\n" " material of the face that lies on its left when following the 1D\n" " element if there are two different materials on each side of the\n" " point. However, there still can be problematic cases, and the user\n" " willing to deal with this cases in a specific way should implement its\n" " own getMaterial functor.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: The material of the object evaluated at the pointed\n" " Interface0D.\n" " :rtype: :class:`freestyle.types.Material`\n")
static int MaterialF0D___init__(BPy_MaterialF0D *self, PyObject *args, PyObject *kwds)
PyTypeObject UnaryFunction0DMaterial_Type
Functions taking 0D input.