Blender
V3.3
|
#include "BPy_StrokeVertexIterator.h"
#include "../BPy_Convert.h"
#include "../Interface1D/BPy_Stroke.h"
#include "BPy_Interface0DIterator.h"
Go to the source code of this file.
Functions | |
PyDoc_STRVAR (StrokeVertexIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`StrokeVertexIterator`\n" "\n" "Class defining an iterator designed to iterate over the\n" ":class:`StrokeVertex` of a :class:`Stroke`. An instance of a\n" "StrokeVertexIterator can be obtained from a Stroke by calling\n" "iter(), stroke_vertices_begin() or stroke_vertices_begin(). It is iterating\n" "over the same vertices as an :class:`Interface0DIterator`. The difference\n" "resides in the object access: an Interface0DIterator only allows\n" "access to an Interface0D while one might need to access the\n" "specialized StrokeVertex type. In this case, one should use a\n" "StrokeVertexIterator. To call functions of the UnaryFuntion0D type,\n" "a StrokeVertexIterator can be converted to an Interface0DIterator by\n" "by calling Interface0DIterator(it).\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" "\n" " Creates a :class:`StrokeVertexIterator` using either the\n" " default constructor or the copy constructor.\n" "\n" " :arg brother: A StrokeVertexIterator object.\n" " :type brother: :class:`StrokeVertexIterator`") | |
static int | StrokeVertexIterator_init (BPy_StrokeVertexIterator *self, PyObject *args, PyObject *kwds) |
static PyObject * | StrokeVertexIterator_iter (BPy_StrokeVertexIterator *self) |
static PyObject * | StrokeVertexIterator_iternext (BPy_StrokeVertexIterator *self) |
PyDoc_STRVAR (StrokeVertexIterator_incremented_doc, ".. method:: incremented()\n" "\n" " Returns a copy of an incremented StrokeVertexIterator.\n" "\n" " :return: A StrokeVertexIterator pointing the next StrokeVertex.\n" " :rtype: :class:`StrokeVertexIterator`") | |
static PyObject * | StrokeVertexIterator_incremented (BPy_StrokeVertexIterator *self) |
PyDoc_STRVAR (StrokeVertexIterator_decremented_doc, ".. method:: decremented()\n" "\n" " Returns a copy of a decremented StrokeVertexIterator.\n" "\n" " :return: A StrokeVertexIterator pointing the previous StrokeVertex.\n" " :rtype: :class:`StrokeVertexIterator`") | |
static PyObject * | StrokeVertexIterator_decremented (BPy_StrokeVertexIterator *self) |
PyDoc_STRVAR (StrokeVertexIterator_reversed_doc, ".. method:: reversed()\n" "\n" " Returns a StrokeVertexIterator that traverses stroke vertices in the\n" " reversed order.\n" "\n" " :return: A StrokeVertexIterator traversing stroke vertices backward.\n" " :rtype: :class:`StrokeVertexIterator`") | |
static PyObject * | StrokeVertexIterator_reversed (BPy_StrokeVertexIterator *self) |
PyDoc_STRVAR (StrokeVertexIterator_object_doc, "The StrokeVertex object currently pointed to by this iterator.\n" "\n" ":type: :class:`StrokeVertex`") | |
static PyObject * | StrokeVertexIterator_object_get (BPy_StrokeVertexIterator *self, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertexIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float") | |
static PyObject * | StrokeVertexIterator_t_get (BPy_StrokeVertexIterator *self, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertexIterator_u_doc, "The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float") | |
static PyObject * | StrokeVertexIterator_u_get (BPy_StrokeVertexIterator *self, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertexIterator_at_last_doc, "True if the iterator points to the last valid element.\n" "For its counterpart (pointing to the first valid element), use it.is_begin.\n" "\n" ":type: bool") | |
static PyObject * | StrokeVertexIterator_at_last_get (BPy_StrokeVertexIterator *self) |
Variables | |
static PyMethodDef | BPy_StrokeVertexIterator_methods [] |
static PyGetSetDef | BPy_StrokeVertexIterator_getseters [] |
PyTypeObject | StrokeVertexIterator_Type |
PyDoc_STRVAR | ( | StrokeVertexIterator_at_last_doc | , |
"True if the iterator points to the last valid element.\n" "For its counterpart | pointing to the first valid element, | ||
use it.is_begin.\n" "\n" ":type:bool" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_decremented_doc | , |
".. method:: decremented()\n" "\n" " Returns a copy of a decremented StrokeVertexIterator.\n" "\n" " :return: A StrokeVertexIterator pointing the previous StrokeVertex.\n" " :rtype: :class:`StrokeVertexIterator`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_doc | , |
"Class hierarchy: :class:`Iterator` | , | ||
:class:`StrokeVertexIterator`\n" "\n" "Class defining an iterator designed to iterate over the\n" ":class:`StrokeVertex` of a :class:`Stroke`. An instance of a\n" "StrokeVertexIterator can be obtained from a Stroke by calling\n" " | iter(), | ||
stroke_vertices_begin() or stroke_vertices_begin(). It is iterating\n" "over the same vertices as an :class:`Interface0DIterator`. The difference\n" "resides in the object access:an Interface0DIterator only allows\n" "access to an Interface0D while one might need to access the\n" "specialized StrokeVertex type. In this | case, | ||
one should use a\n" "StrokeVertexIterator. To call functions of the UnaryFuntion0D | type, | ||
\n" "a StrokeVertexIterator can be converted to an Interface0DIterator by\n" "by calling Interface0DIterator(it).\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" "\n" " Creates a :class:`StrokeVertexIterator` using either the\n" " default constructor or the copy constructor.\n" "\n" " :arg brother:A StrokeVertexIterator object.\n" " :type brother::class:`StrokeVertexIterator`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_incremented_doc | , |
".. method:: incremented()\n" "\n" " Returns a copy of an incremented StrokeVertexIterator.\n" "\n" " :return: A StrokeVertexIterator pointing the next StrokeVertex.\n" " :rtype: :class:`StrokeVertexIterator`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_object_doc | , |
"The StrokeVertex object currently pointed to by this iterator.\n" "\n" ":type: :class:`StrokeVertex`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_reversed_doc | , |
".. method:: reversed()\n" "\n" " Returns a StrokeVertexIterator that traverses stroke vertices in the\n" " reversed order.\n" "\n" " :return: A StrokeVertexIterator traversing stroke vertices backward.\n" " :rtype: :class:`StrokeVertexIterator`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_t_doc | , |
"The curvilinear abscissa of the current point.\n" "\n" ":type: float" | |||
) |
PyDoc_STRVAR | ( | StrokeVertexIterator_u_doc | , |
"The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float" | |||
) |
|
static |
Definition at line 248 of file BPy_StrokeVertexIterator.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 160 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), copy(), and self.
|
static |
Definition at line 141 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), copy(), and self.
|
static |
Definition at line 47 of file BPy_StrokeVertexIterator.cpp.
References Stroke_Type, and StrokeVertexIterator_Type.
|
static |
Definition at line 84 of file BPy_StrokeVertexIterator.cpp.
|
static |
Definition at line 91 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), and self.
|
static |
Definition at line 208 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), and self.
|
static |
Definition at line 180 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), and self.
|
static |
Definition at line 227 of file BPy_StrokeVertexIterator.cpp.
References self.
|
static |
Definition at line 237 of file BPy_StrokeVertexIterator.cpp.
References self.
|
static |
Definition at line 253 of file BPy_StrokeVertexIterator.cpp.
|
static |
Definition at line 185 of file BPy_StrokeVertexIterator.cpp.
PyTypeObject StrokeVertexIterator_Type |
Definition at line 279 of file BPy_StrokeVertexIterator.cpp.
Referenced by BPy_StrokeVertexIterator_from_StrokeVertexIterator(), Iterator_Init(), Stroke_insert_vertex(), and StrokeVertexIterator_init().