|
Blender V5.0
|
#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`\n") | |
| 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`\n") | |
| 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`\n") | |
| 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`\n") | |
| 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`\n") | |
| static PyObject * | StrokeVertexIterator_object_get (BPy_StrokeVertexIterator *self, void *) |
| PyDoc_STRVAR (StrokeVertexIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n") | |
| static PyObject * | StrokeVertexIterator_t_get (BPy_StrokeVertexIterator *self, void *) |
| PyDoc_STRVAR (StrokeVertexIterator_u_doc, "The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float\n") | |
| static PyObject * | StrokeVertexIterator_u_get (BPy_StrokeVertexIterator *self, void *) |
| 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\n") | |
| 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\n" | ) |
| 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`\n" | ) |
| 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`\n" | ) |
| 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`\n" | ) |
| PyDoc_STRVAR | ( | StrokeVertexIterator_object_doc | , |
| "The StrokeVertex object currently pointed to by this iterator.\n" "\n" ":type: :class:`StrokeVertex`\n" | ) |
| 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`\n" | ) |
| PyDoc_STRVAR | ( | StrokeVertexIterator_t_doc | , |
| "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n" | ) |
| PyDoc_STRVAR | ( | StrokeVertexIterator_u_doc | , |
| "The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float\n" | ) |
|
static |
Definition at line 274 of file BPy_StrokeVertexIterator.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 163 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), copy(), and self.
|
static |
Definition at line 143 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), copy(), and self.
|
static |
Definition at line 46 of file BPy_StrokeVertexIterator.cpp.
References self, Stroke_Type, and StrokeVertexIterator_Type.
|
static |
Definition at line 85 of file BPy_StrokeVertexIterator.cpp.
References self.
|
static |
Definition at line 92 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), and self.
|
static |
Definition at line 231 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), and self.
|
static |
Definition at line 184 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), and self.
|
static |
Definition at line 251 of file BPy_StrokeVertexIterator.cpp.
References self.
|
static |
Definition at line 262 of file BPy_StrokeVertexIterator.cpp.
References self.
|
static |
Definition at line 289 of file BPy_StrokeVertexIterator.cpp.
|
static |
Definition at line 199 of file BPy_StrokeVertexIterator.cpp.
| PyTypeObject StrokeVertexIterator_Type |
Definition at line 323 of file BPy_StrokeVertexIterator.cpp.
Referenced by BPy_StrokeVertexIterator_from_StrokeVertexIterator(), Iterator_Init(), Stroke_insert_vertex(), and StrokeVertexIterator_init().