Go to the source code of this file.
|
| 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__(brother)\n" " __init__(it)\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an he argument of a Function0D.\n" "\n" " :arg brother: An Interface0DIterator object.\n" " :type brother: :class:`Interface0DIterator`\n" " :arg it: An iterator object to be nested.\n" " :type it: :class:`SVertexIterator`, :class:`CurvePointIterator`, or\n" " :class:`StrokeVertexIterator`") |
|
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. Note that the object\n" "may be an instance of an Interface0D subclass. For example if the iterator\n" "has been created from the `vertices_begin()` method of the :class:`Stroke`\n" "class, the .object property refers to a :class:`StrokeVertex` object.\n" "\n" ":type: :class:`Interface0D` or one of its subclasses.") |
|
static PyObject * | Interface0DIterator_object_get (BPy_Interface0DIterator *self, void *UNUSED(closure)) |
|
| PyDoc_STRVAR (Interface0DIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float") |
|
static PyObject * | Interface0DIterator_t_get (BPy_Interface0DIterator *self, void *UNUSED(closure)) |
|
| PyDoc_STRVAR (Interface0DIterator_u_doc, "The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float") |
|
static PyObject * | Interface0DIterator_u_get (BPy_Interface0DIterator *self, void *UNUSED(closure)) |
|
| 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") |
|
static PyObject * | Interface0DIterator_at_last_get (BPy_Interface0DIterator *self, void *UNUSED(closure)) |
|
◆ convert_nested_it()
static int convert_nested_it |
( |
PyObject * |
obj, |
|
|
void * |
v |
|
) |
| |
|
static |
◆ Interface0DIterator_at_last_get()
◆ Interface0DIterator_init()
◆ Interface0DIterator_iter()
◆ Interface0DIterator_iternext()
◆ Interface0DIterator_object_get()
◆ Interface0DIterator_t_get()
◆ Interface0DIterator_u_get()
◆ 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" |
|
|
) |
| |
◆ 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__(brother)\n" " __init__(it)\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an he argument of a Function0D.\n" "\n" " :arg brother:An Interface0DIterator object.\n" " :type brother::class:`Interface0DIterator`\n" " :arg it:An iterator object to be nested.\n" " :type it::class:`SVertexIterator` |
, |
|
|
:class:`CurvePointIterator` |
, |
|
|
or\n" " :class:`StrokeVertexIterator`" |
|
|
) |
| |
◆ PyDoc_STRVAR() [3/5]
PyDoc_STRVAR |
( |
Interface0DIterator_object_doc |
, |
|
|
"The 0D object currently pointed to by this iterator. Note that the object\n" "may be an instance of an Interface0D subclass. For example if the iterator\n" "has been created from the `vertices_begin()` method of the :class:`Stroke`\n" " |
class, |
|
|
the .object property refers to a :class:`StrokeVertex` object.\n" "\n" ":type::class:`Interface0D` or one of its subclasses." |
|
|
) |
| |
◆ PyDoc_STRVAR() [4/5]
PyDoc_STRVAR |
( |
Interface0DIterator_t_doc |
, |
|
|
"The curvilinear abscissa of the current point.\n" "\n" ":type: float" |
|
|
) |
| |
◆ 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" |
|
|
) |
| |
◆ BPy_Interface0DIterator_getseters
PyGetSetDef BPy_Interface0DIterator_getseters[] |
|
static |
Initial value:= {
{"object",
(setter) nullptr,
Interface0DIterator_object_doc,
nullptr},
{"at_last",
(setter) nullptr,
Interface0DIterator_at_last_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * Interface0DIterator_u_get(BPy_Interface0DIterator *self, void *UNUSED(closure))
static PyObject * Interface0DIterator_object_get(BPy_Interface0DIterator *self, void *UNUSED(closure))
static PyObject * Interface0DIterator_t_get(BPy_Interface0DIterator *self, void *UNUSED(closure))
static PyObject * Interface0DIterator_at_last_get(BPy_Interface0DIterator *self, void *UNUSED(closure))
Definition at line 178 of file BPy_Interface0DIterator.cpp.
◆ Interface0DIterator_Type
PyTypeObject Interface0DIterator_Type |
Definition at line 196 of file BPy_Interface0DIterator.cpp.
Referenced by BPy_Interface0DIterator_from_Interface0DIterator(), Integrator_integrate(), Interface0DIterator_init(), Iterator_Init(), UnaryFunction0DDouble___call__(), UnaryFunction0DEdgeNature___call__(), UnaryFunction0DFloat___call__(), UnaryFunction0DId___call__(), UnaryFunction0DMaterial___call__(), UnaryFunction0DUnsigned___call__(), UnaryFunction0DVec2f___call__(), UnaryFunction0DVec3f___call__(), UnaryFunction0DVectorViewShape___call__(), UnaryFunction0DViewShape___call__(), and UnaryPredicate0D___call__().