Blender V5.0
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");
42 PyObject *args,
43 PyObject *kwds)
44{
45 static const char *kwlist[] = {nullptr};
46
47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist)) {
48 return -1;
49 }
50 self->py_uf0D_vec3f.uf0D_vec3f = new Functions0D::VertexOrientation3DF0D();
51 self->py_uf0D_vec3f.uf0D_vec3f->py_uf0D = (PyObject *)self;
52 return 0;
53}
54
55/*-----------------------BPy_VertexOrientation3DF0D type definition -----------------------------*/
56
58 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
59 /*tp_name*/ "VertexOrientation3DF0D",
60 /*tp_basicsize*/ sizeof(BPy_VertexOrientation3DF0D),
61 /*tp_itemsize*/ 0,
62 /*tp_dealloc*/ nullptr,
63 /*tp_vectorcall_offset*/ 0,
64 /*tp_getattr*/ nullptr,
65 /*tp_setattr*/ nullptr,
66 /*tp_as_async*/ nullptr,
67 /*tp_repr*/ nullptr,
68 /*tp_as_number*/ nullptr,
69 /*tp_as_sequence*/ nullptr,
70 /*tp_as_mapping*/ nullptr,
71 /*tp_hash*/ nullptr,
72 /*tp_call*/ nullptr,
73 /*tp_str*/ nullptr,
74 /*tp_getattro*/ nullptr,
75 /*tp_setattro*/ nullptr,
76 /*tp_as_buffer*/ nullptr,
77 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
78 /*tp_doc*/ VertexOrientation3DF0D___doc__,
79 /*tp_traverse*/ nullptr,
80 /*tp_clear*/ nullptr,
81 /*tp_richcompare*/ nullptr,
82 /*tp_weaklistoffset*/ 0,
83 /*tp_iter*/ nullptr,
84 /*tp_iternext*/ nullptr,
85 /*tp_methods*/ nullptr,
86 /*tp_members*/ nullptr,
87 /*tp_getset*/ nullptr,
88 /*tp_base*/ &UnaryFunction0DVec3f_Type,
89 /*tp_dict*/ nullptr,
90 /*tp_descr_get*/ nullptr,
91 /*tp_descr_set*/ nullptr,
92 /*tp_dictoffset*/ 0,
93 /*tp_init*/ (initproc)VertexOrientation3DF0D___init__,
94 /*tp_alloc*/ nullptr,
95 /*tp_new*/ nullptr,
96};
97
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