|
Blender V4.5
|
#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 *) |
| 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 *) |
| 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 *) |
| 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" | ) |
References PyDoc_STRVAR().
| 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`" | ) |
References PyDoc_STRVAR().
| 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`" | ) |
References PyDoc_STRVAR().
| 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`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertexIterator_object_doc | , |
| "The StrokeVertex object currently pointed to by this iterator.\n" "\n" ":type: :class:`StrokeVertex`" | ) |
References PyDoc_STRVAR().
| 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`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertexIterator_t_doc | , |
| "The curvilinear abscissa of the current point.\n" "\n" ":type: float" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertexIterator_u_doc | , |
| "The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 282 of file BPy_StrokeVertexIterator.cpp.
References PyBool_from_bool(), StrokeVertexIterator_at_last_get(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_at_last_get().
|
static |
Definition at line 166 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), BPy_StrokeVertexIterator::reversed, StrokeVertexIterator_decremented(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_decremented().
|
static |
Definition at line 145 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), BPy_StrokeVertexIterator::reversed, StrokeVertexIterator_incremented(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_incremented().
|
static |
Definition at line 47 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator::at_start, BPy_Iterator::it, BPy_StrokeVertexIterator::py_it, BPy_StrokeVertexIterator::reversed, Stroke_Type, StrokeVertexIterator_init(), StrokeVertexIterator_Type, and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_init().
|
static |
Definition at line 86 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator::at_start, and StrokeVertexIterator_iter().
Referenced by StrokeVertexIterator_iter().
|
static |
Definition at line 93 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator::at_start, BPy_StrokeVertex_from_StrokeVertex(), BPy_StrokeVertexIterator::reversed, StrokeVertexIterator_iternext(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_iternext().
|
static |
Definition at line 236 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), StrokeVertexIterator_object_get(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_object_get().
|
static |
Definition at line 188 of file BPy_StrokeVertexIterator.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), BPy_StrokeVertexIterator::reversed, StrokeVertexIterator_reversed(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_reversed().
|
static |
Definition at line 257 of file BPy_StrokeVertexIterator.cpp.
References StrokeVertexIterator_t_get(), and BPy_StrokeVertexIterator::sv_it.
Referenced by StrokeVertexIterator_t_get().
|
static |
Definition at line 269 of file BPy_StrokeVertexIterator.cpp.
References StrokeVertexIterator_u_get(), BPy_StrokeVertexIterator::sv_it, and Freestyle::StrokeVertex::u().
Referenced by StrokeVertexIterator_u_get().
|
static |
Definition at line 297 of file BPy_StrokeVertexIterator.cpp.
|
static |
Definition at line 203 of file BPy_StrokeVertexIterator.cpp.
| PyTypeObject StrokeVertexIterator_Type |
Definition at line 331 of file BPy_StrokeVertexIterator.cpp.
Referenced by BPy_StrokeVertexIterator_from_StrokeVertexIterator(), Iterator_Init(), Stroke_insert_vertex(), and StrokeVertexIterator_init().