Blender  V3.3
Functions | Variables
BPy_CurvePointIterator.cpp File Reference
#include "BPy_CurvePointIterator.h"
#include "../BPy_Convert.h"
#include "BPy_Interface0DIterator.h"

Go to the source code of this file.

Functions

 PyDoc_STRVAR (CurvePointIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`CurvePointIterator`\n" "\n" "Class representing an iterator on a curve. Allows an iterating\n" "outside initial vertices. A CurvePoint is instantiated and returned\n" "through the .object attribute.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(step=0.0)\n" "\n" " Builds a CurvePointIterator object using either the default constructor,\n" " copy constructor, or the overloaded constructor.\n" "\n" " :arg brother: A CurvePointIterator object.\n" " :type brother: :class:`CurvePointIterator`\n" " :arg step: A resampling resolution with which the curve is resampled.\n" " If zero, no resampling is done (i.e., the iterator iterates over\n" " initial vertices).\n" " :type step: float")
 
static int CurvePointIterator_init (BPy_CurvePointIterator *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (CurvePointIterator_object_doc, "The CurvePoint object currently pointed by this iterator.\n" "\n" ":type: :class:`CurvePoint`")
 
static PyObject * CurvePointIterator_object_get (BPy_CurvePointIterator *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (CurvePointIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float")
 
static PyObject * CurvePointIterator_t_get (BPy_CurvePointIterator *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (CurvePointIterator_u_doc, "The point parameter at the current point in the stroke (0 <= u <= 1).\n" "\n" ":type: float")
 
static PyObject * CurvePointIterator_u_get (BPy_CurvePointIterator *self, void *UNUSED(closure))
 

Variables

static PyGetSetDef BPy_CurvePointIterator_getseters []
 
PyTypeObject CurvePointIterator_Type
 

Function Documentation

◆ CurvePointIterator_init()

static int CurvePointIterator_init ( BPy_CurvePointIterator self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 43 of file BPy_CurvePointIterator.cpp.

References CurvePointIterator_Type.

◆ CurvePointIterator_object_get()

static PyObject* CurvePointIterator_object_get ( BPy_CurvePointIterator self,
void UNUSEDclosure 
)
static

Definition at line 79 of file BPy_CurvePointIterator.cpp.

References BPy_CurvePoint_from_CurvePoint(), and self.

◆ CurvePointIterator_t_get()

static PyObject* CurvePointIterator_t_get ( BPy_CurvePointIterator self,
void UNUSEDclosure 
)
static

Definition at line 93 of file BPy_CurvePointIterator.cpp.

References self.

◆ CurvePointIterator_u_get()

static PyObject* CurvePointIterator_u_get ( BPy_CurvePointIterator self,
void UNUSEDclosure 
)
static

Definition at line 103 of file BPy_CurvePointIterator.cpp.

References self.

◆ PyDoc_STRVAR() [1/4]

PyDoc_STRVAR ( CurvePointIterator_doc  ,
"Class hierarchy: :class:`Iterator ,
:class:`CurvePointIterator`\n" "\n" "Class representing an iterator on a curve. Allows an iterating\n" "outside initial vertices. A CurvePoint is instantiated and returned\n" "through the .object attribute.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(step=0.0)\n" "\n" " Builds a CurvePointIterator object using either the default  constructor,
\n" " copy  constructor,
or the overloaded constructor.\n" "\n" " :arg brother:A CurvePointIterator object.\n" " :type brother::class:`CurvePointIterator`\n" " :arg step:A resampling resolution with which the curve is resampled.\n" " If  zero,
no resampling is done(i.e., the iterator iterates over\n" " initial vertices).\n" " :type step:float"   
)

◆ PyDoc_STRVAR() [2/4]

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

◆ PyDoc_STRVAR() [3/4]

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

◆ PyDoc_STRVAR() [4/4]

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

Variable Documentation

◆ BPy_CurvePointIterator_getseters

PyGetSetDef BPy_CurvePointIterator_getseters[]
static
Initial value:
= {
{"object",
(setter) nullptr,
CurvePointIterator_object_doc,
nullptr},
{"t", (getter)CurvePointIterator_t_get, (setter) nullptr, CurvePointIterator_t_doc, nullptr},
{"u", (getter)CurvePointIterator_u_get, (setter) nullptr, CurvePointIterator_u_doc, nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * CurvePointIterator_u_get(BPy_CurvePointIterator *self, void *UNUSED(closure))
static PyObject * CurvePointIterator_object_get(BPy_CurvePointIterator *self, void *UNUSED(closure))
static PyObject * CurvePointIterator_t_get(BPy_CurvePointIterator *self, void *UNUSED(closure))

Definition at line 108 of file BPy_CurvePointIterator.cpp.

◆ CurvePointIterator_Type

PyTypeObject CurvePointIterator_Type