Blender V4.5
BPy_VertexOrientation3DF0D.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
10
12
13using namespace Freestyle;
14
16
17//------------------------INSTANCE METHODS ----------------------------------
18
20 /* Wrap. */
21 VertexOrientation3DF0D___doc__,
22 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
23 ":class:`freestyle.types.UnaryFunction0DVec3f` > :class:`VertexOrientation3DF0D`\n"
24 "\n"
25 ".. method:: __init__()\n"
26 "\n"
27 " Builds a VertexOrientation3DF0D object.\n"
28 "\n"
29 ".. method:: __call__(it)\n"
30 "\n"
31 " Returns a three-dimensional vector giving the 3D oriented tangent to\n"
32 " the 1D element to which the :class:`freestyle.types.Interface0D`\n"
33 " pointed by the Interface0DIterator belongs. The 3D oriented tangent\n"
34 " is evaluated at the pointed Interface0D.\n"
35 "\n"
36 " :arg it: An Interface0DIterator object.\n"
37 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
38 " :return: The 3D oriented tangent to the 1D element evaluated at the\n"
39 " pointed Interface0D.\n"
40 " :rtype: :class:`mathutils.Vector`\n");
41
43 PyObject *args,
44 PyObject *kwds)
45{
46 static const char *kwlist[] = {nullptr};
47
48 if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist)) {
49 return -1;
50 }
51 self->py_uf0D_vec3f.uf0D_vec3f = new Functions0D::VertexOrientation3DF0D();
52 self->py_uf0D_vec3f.uf0D_vec3f->py_uf0D = (PyObject *)self;
53 return 0;
54}
55
56/*-----------------------BPy_VertexOrientation3DF0D type definition -----------------------------*/
57
59 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
60 /*tp_name*/ "VertexOrientation3DF0D",
61 /*tp_basicsize*/ sizeof(BPy_VertexOrientation3DF0D),
62 /*tp_itemsize*/ 0,
63 /*tp_dealloc*/ nullptr,
64 /*tp_vectorcall_offset*/ 0,
65 /*tp_getattr*/ nullptr,
66 /*tp_setattr*/ nullptr,
67 /*tp_as_async*/ nullptr,
68 /*tp_repr*/ nullptr,
69 /*tp_as_number*/ nullptr,
70 /*tp_as_sequence*/ nullptr,
71 /*tp_as_mapping*/ nullptr,
72 /*tp_hash*/ nullptr,
73 /*tp_call*/ nullptr,
74 /*tp_str*/ nullptr,
75 /*tp_getattro*/ nullptr,
76 /*tp_setattro*/ nullptr,
77 /*tp_as_buffer*/ nullptr,
78 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
79 /*tp_doc*/ VertexOrientation3DF0D___doc__,
80 /*tp_traverse*/ nullptr,
81 /*tp_clear*/ nullptr,
82 /*tp_richcompare*/ nullptr,
83 /*tp_weaklistoffset*/ 0,
84 /*tp_iter*/ nullptr,
85 /*tp_iternext*/ nullptr,
86 /*tp_methods*/ nullptr,
87 /*tp_members*/ nullptr,
88 /*tp_getset*/ nullptr,
89 /*tp_base*/ &UnaryFunction0DVec3f_Type,
90 /*tp_dict*/ nullptr,
91 /*tp_descr_get*/ nullptr,
92 /*tp_descr_set*/ nullptr,
93 /*tp_dictoffset*/ 0,
94 /*tp_init*/ (initproc)VertexOrientation3DF0D___init__,
95 /*tp_alloc*/ nullptr,
96 /*tp_new*/ nullptr,
97};
98
PyTypeObject UnaryFunction0DVec3f_Type
static int VertexOrientation3DF0D___init__(BPy_VertexOrientation3DF0D *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(VertexOrientation3DF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DVec3f` > :class:`VertexOrientation3DF0D`\n" "\n" ".. method:: __init__()\n" "\n" " Builds a VertexOrientation3DF0D object.\n" "\n" ".. method:: __call__(it)\n" "\n" " Returns a three-dimensional vector giving the 3D oriented tangent to\n" " the 1D element to which the :class:`freestyle.types.Interface0D`\n" " pointed by the Interface0DIterator belongs. The 3D oriented tangent\n" " is evaluated at the pointed Interface0D.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: The 3D oriented tangent to the 1D element evaluated at the\n" " pointed Interface0D.\n" " :rtype: :class:`mathutils.Vector`\n")
PyTypeObject VertexOrientation3DF0D_Type
Functions taking 0D input.
PyObject * self
inherits from class Rep
Definition AppCanvas.cpp:20