Blender V5.3
BPy_SVertexIterator.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (SVertexIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`SVertexIterator`\n" "\n" "Class representing an iterator over :class:`SVertex` of a\n" ":class:`ViewEdge`. An instance of an SVertexIterator can be obtained\n" "from a ViewEdge by calling verticesBegin() or verticesEnd().\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(vertex, begin, previous_edge, next_edge, t)``\n" "\n" " Build an SVertexIterator using either the default constructor, copy constructor,\n" " or the overloaded constructor that starts iteration from an SVertex object vertex.\n" "\n" " :param brother: An SVertexIterator object.\n" " :type brother: :class:`SVertexIterator`\n" " :param vertex: The SVertex from which the iterator starts iteration.\n" " :type vertex: :class:`SVertex`\n" " :param begin: The first SVertex of a ViewEdge.\n" " :type begin: :class:`SVertex`\n" " :param previous_edge: The previous FEdge coming to vertex.\n" " :type previous_edge: :class:`FEdge`\n" " :param next_edge: The next FEdge going out from vertex.\n" " :type next_edge: :class:`FEdge`\n" " :param t: The curvilinear abscissa at vertex.\n" " :type t: float\n")
static int SVertexIterator_init (BPy_SVertexIterator *self, PyObject *args, PyObject *kwds)
 PyDoc_STRVAR (SVertexIterator_object_doc, "The SVertex object currently pointed by this iterator.\n" "\n" ":type: :class:`SVertex`\n")
static PyObject * SVertexIterator_object_get (BPy_SVertexIterator *self, void *)
 PyDoc_STRVAR (SVertexIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n")
static PyObject * SVertexIterator_t_get (BPy_SVertexIterator *self, void *)
 PyDoc_STRVAR (SVertexIterator_u_doc, "The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float\n")
static PyObject * SVertexIterator_u_get (BPy_SVertexIterator *self, void *)

Variables

static PyGetSetDef BPy_SVertexIterator_getseters []
PyTypeObject SVertexIterator_Type

Function Documentation

◆ PyDoc_STRVAR() [1/4]

PyDoc_STRVAR ( SVertexIterator_doc ,
"Class hierarchy: :class:`Iterator` ,
:class:`SVertexIterator`\n" "\n" "Class representing an iterator over :class:`SVertex` of a\n" ":class:`ViewEdge`. An instance of an SVertexIterator can be obtained\n" "from a ViewEdge by calling verticesBegin() or verticesEnd().\n" "\n" ".. method::__init__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(vertex, begin, previous_edge, next_edge, t)``\n" "\n" " Build an SVertexIterator using either the default constructor,
copy constructor,
\n" " or the overloaded constructor that starts iteration from an SVertex object vertex.\n" "\n" " :param brother:An SVertexIterator object.\n" " :type brother::class:`SVertexIterator`\n" " :param vertex:The SVertex from which the iterator starts iteration.\n" " :type vertex::class:`SVertex`\n" " :param begin:The first SVertex of a ViewEdge.\n" " :type begin::class:`SVertex`\n" " :param previous_edge:The previous FEdge coming to vertex.\n" " :type previous_edge::class:`FEdge`\n" " :param next_edge:The next FEdge going out from vertex.\n" " :type next_edge::class:`FEdge`\n" " :param t:The curvilinear abscissa at vertex.\n" " :type t:float\n"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [2/4]

PyDoc_STRVAR ( SVertexIterator_object_doc ,
"The SVertex object currently pointed by this iterator.\n" "\n" ":type: :class:`SVertex`\n"  )

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [3/4]

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

References PyDoc_STRVAR().

◆ PyDoc_STRVAR() [4/4]

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

References PyDoc_STRVAR().

◆ SVertexIterator_init()

int SVertexIterator_init ( BPy_SVertexIterator * self,
PyObject * args,
PyObject * kwds )
static

◆ SVertexIterator_object_get()

PyObject * SVertexIterator_object_get ( BPy_SVertexIterator * self,
void *  )
static

◆ SVertexIterator_t_get()

PyObject * SVertexIterator_t_get ( BPy_SVertexIterator * self,
void *  )
static

Definition at line 137 of file BPy_SVertexIterator.cpp.

References BPy_SVertexIterator::sv_it, and SVertexIterator_t_get().

Referenced by SVertexIterator_t_get().

◆ SVertexIterator_u_get()

PyObject * SVertexIterator_u_get ( BPy_SVertexIterator * self,
void *  )
static

Definition at line 148 of file BPy_SVertexIterator.cpp.

References BPy_SVertexIterator::sv_it, and SVertexIterator_u_get().

Referenced by SVertexIterator_u_get().

Variable Documentation

◆ BPy_SVertexIterator_getseters

PyGetSetDef BPy_SVertexIterator_getseters[]
static
Initial value:
= {
{"object",
(setter) nullptr,
SVertexIterator_object_doc,
nullptr},
{"t", (getter)SVertexIterator_t_get, (setter) nullptr, SVertexIterator_t_doc, nullptr},
{"u", (getter)SVertexIterator_u_get, (setter) nullptr, SVertexIterator_u_doc, nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * SVertexIterator_object_get(BPy_SVertexIterator *self, void *)
static PyObject * SVertexIterator_u_get(BPy_SVertexIterator *self, void *)
static PyObject * SVertexIterator_t_get(BPy_SVertexIterator *self, void *)

Definition at line 153 of file BPy_SVertexIterator.cpp.

◆ SVertexIterator_Type

PyTypeObject SVertexIterator_Type