Blender V4.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__()\n" " __init__(brother)\n" " __init__(vertex, begin, previous_edge, next_edge, t)" "\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" " :arg brother: An SVertexIterator object.\n" " :type brother: :class:`SVertexIterator`\n" " :arg vertex: The SVertex from which the iterator starts iteration.\n" " :type vertex: :class:`SVertex`\n" " :arg begin: The first SVertex of a ViewEdge.\n" " :type begin: :class:`SVertex`\n" " :arg previous_edge: The previous FEdge coming to vertex.\n" " :type previous_edge: :class:`FEdge`\n" " :arg next_edge: The next FEdge going out from vertex.\n" " :type next_edge: :class:`FEdge`\n" " :arg t: The curvilinear abscissa at vertex.\n" " :type t: float")
 
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`")
 
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")
 
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")
 
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__()\n" " __init__(brother)\n" " __init__(vertex, begin, previous_edge, next_edge, t)" "\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" " :arg brother:An SVertexIterator object.\n" " :type brother::class:`SVertexIterator`\n" " :arg vertex:The SVertex from which the iterator starts iteration.\n" " :type vertex::class:`SVertex`\n" " :arg begin:The first SVertex of a ViewEdge.\n" " :type begin::class:`SVertex`\n" " :arg previous_edge:The previous FEdge coming to vertex.\n" " :type previous_edge::class:`FEdge`\n" " :arg next_edge:The next FEdge going out from vertex.\n" " :type next_edge::class:`FEdge`\n" " :arg t:The curvilinear abscissa at vertex.\n" " :type t:float"  )

◆ PyDoc_STRVAR() [2/4]

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

◆ PyDoc_STRVAR() [3/4]

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

◆ 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"  )

◆ SVertexIterator_init()

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

Definition at line 54 of file BPy_SVertexIterator.cpp.

References FEdge_Type, self, SVertex_Type, and SVertexIterator_Type.

◆ SVertexIterator_object_get()

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

Definition at line 109 of file BPy_SVertexIterator.cpp.

References BPy_SVertex_from_SVertex(), and self.

◆ SVertexIterator_t_get()

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

Definition at line 129 of file BPy_SVertexIterator.cpp.

References self.

◆ SVertexIterator_u_get()

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

Definition at line 141 of file BPy_SVertexIterator.cpp.

References self.

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 146 of file BPy_SVertexIterator.cpp.

◆ SVertexIterator_Type

PyTypeObject SVertexIterator_Type