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