Blender V5.3
BPy_Interface0DIterator.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (Interface0DIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`Interface0DIterator`\n" "\n" "Class defining an iterator over Interface0D elements. An instance of\n" "this iterator is always obtained from a 1D element.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(brother)``\n" " - ``__init__(it)``\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an argument of a Function0D.\n" "\n" " :param brother: An Interface0DIterator object.\n" " :type brother: :class:`Interface0DIterator`\n" " :param it: An iterator object to be nested.\n" " :type it: :class:`SVertexIterator` | :class:`CurvePointIterator` | " ":class:`StrokeVertexIterator`\n")
static int convert_nested_it (PyObject *obj, void *v)
static int Interface0DIterator_init (BPy_Interface0DIterator *self, PyObject *args, PyObject *kwds)
static PyObject * Interface0DIterator_iter (BPy_Interface0DIterator *self)
static PyObject * Interface0DIterator_iternext (BPy_Interface0DIterator *self)
 PyDoc_STRVAR (Interface0DIterator_object_doc, "The 0D object currently pointed to by this iterator. The object may be an\n" "instance of :class:`Interface0D` or one of its subclasses. For example if\n" "the iterator has been created from the `vertices_begin()` method of the\n" ":class:`Stroke` class, the .object property refers to a :class:`StrokeVertex`\n" "object.\n" "\n" ":type: :class:`Interface0D`\n")
static PyObject * Interface0DIterator_object_get (BPy_Interface0DIterator *self, void *)
 PyDoc_STRVAR (Interface0DIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n")
static PyObject * Interface0DIterator_t_get (BPy_Interface0DIterator *self, void *)
 PyDoc_STRVAR (Interface0DIterator_u_doc, "The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float\n")
static PyObject * Interface0DIterator_u_get (BPy_Interface0DIterator *self, void *)
 PyDoc_STRVAR (Interface0DIterator_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 * Interface0DIterator_at_last_get (BPy_Interface0DIterator *self, void *)

Variables

static PyGetSetDef BPy_Interface0DIterator_getseters []
PyTypeObject Interface0DIterator_Type

Function Documentation

◆ convert_nested_it()

int convert_nested_it ( PyObject * obj,
void * v )
static

◆ Interface0DIterator_at_last_get()

PyObject * Interface0DIterator_at_last_get ( BPy_Interface0DIterator * self,
void *  )
static

◆ Interface0DIterator_init()

◆ Interface0DIterator_iter()

PyObject * Interface0DIterator_iter ( BPy_Interface0DIterator * self)
static

◆ Interface0DIterator_iternext()

◆ Interface0DIterator_object_get()

PyObject * Interface0DIterator_object_get ( BPy_Interface0DIterator * self,
void *  )
static

◆ Interface0DIterator_t_get()

PyObject * Interface0DIterator_t_get ( BPy_Interface0DIterator * self,
void *  )
static

◆ Interface0DIterator_u_get()

PyObject * Interface0DIterator_u_get ( BPy_Interface0DIterator * self,
void *  )
static

◆ PyDoc_STRVAR() [1/5]

PyDoc_STRVAR ( Interface0DIterator_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"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [2/5]

PyDoc_STRVAR ( Interface0DIterator_doc ,
"Class hierarchy: :class:`Iterator` ,
:class:`Interface0DIterator`\n" "\n" "Class defining an iterator over Interface0D elements. An instance of\n" "this iterator is always obtained from a 1D element.\n" "\n" ".. method::__init__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(brother)``\n" " - ``__init__(it)``\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an argument of a Function0D.\n" "\n" " :param brother:An Interface0DIterator object.\n" " :type brother::class:`Interface0DIterator`\n" " :param it:An iterator object to be nested.\n" " :type it::class:`SVertexIterator`|:class:`CurvePointIterator`|" ":class:`StrokeVertexIterator`\n"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [3/5]

PyDoc_STRVAR ( Interface0DIterator_object_doc ,
"The 0D object currently pointed to by this iterator. The object may be an\n" "instance of :class:`Interface0D` or one of its subclasses. For example if\n" "the iterator has been created from the `vertices_begin()` method of the\n" ":class:`Stroke` class,
the .object property refers to a :class:`StrokeVertex`\n" "object.\n" "\n" ":type::class:`Interface0D`\n"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [4/5]

PyDoc_STRVAR ( Interface0DIterator_t_doc ,
"The curvilinear abscissa of the current point.\n" "\n" ":type: float\n"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [5/5]

PyDoc_STRVAR ( Interface0DIterator_u_doc ,
"The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float\n"  )

References PyDoc_STRVAR().

Variable Documentation

◆ BPy_Interface0DIterator_getseters

PyGetSetDef BPy_Interface0DIterator_getseters[]
static
Initial value:
= {
{"object",
(setter) nullptr,
Interface0DIterator_object_doc,
nullptr},
{"t", (getter)Interface0DIterator_t_get, (setter) nullptr, Interface0DIterator_t_doc, nullptr},
{"u", (getter)Interface0DIterator_u_get, (setter) nullptr, Interface0DIterator_u_doc, nullptr},
{"at_last",
(setter) nullptr,
Interface0DIterator_at_last_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * Interface0DIterator_object_get(BPy_Interface0DIterator *self, void *)
static PyObject * Interface0DIterator_t_get(BPy_Interface0DIterator *self, void *)
static PyObject * Interface0DIterator_at_last_get(BPy_Interface0DIterator *self, void *)
static PyObject * Interface0DIterator_u_get(BPy_Interface0DIterator *self, void *)

Definition at line 202 of file BPy_Interface0DIterator.cpp.

◆ Interface0DIterator_Type