Differential D9170 Diff 29819 source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp
| Show All 26 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| //------------------------INSTANCE METHODS ---------------------------------- | //------------------------INSTANCE METHODS ---------------------------------- | ||||
| PyDoc_STRVAR(SVertexIterator_doc, | PyDoc_STRVAR( | ||||
| SVertexIterator_doc, | |||||
| "Class hierarchy: :class:`Iterator` > :class:`SVertexIterator`\n" | "Class hierarchy: :class:`Iterator` > :class:`SVertexIterator`\n" | ||||
| "\n" | "\n" | ||||
| "Class representing an iterator over :class:`SVertex` of a\n" | "Class representing an iterator over :class:`SVertex` of a\n" | ||||
| ":class:`ViewEdge`. An instance of an SVertexIterator can be obtained\n" | ":class:`ViewEdge`. An instance of an SVertexIterator can be obtained\n" | ||||
| "from a ViewEdge by calling verticesBegin() or verticesEnd().\n" | "from a ViewEdge by calling verticesBegin() or verticesEnd().\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| " __init__(vertex, begin, previous_edge, next_edge, t)" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Build an SVertexIterator using either the default constructor, copy constructor,\n" | ||||
| "\n" | " or the overloaded constructor that starts iteration from an SVertex object vertex.\n" | ||||
| ".. method:: __init__(brother)\n" | |||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: An SVertexIterator object.\n" | " :arg brother: An SVertexIterator object.\n" | ||||
| " :type brother: :class:`SVertexIterator`\n" | " :type brother: :class:`SVertexIterator`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(vertex, begin, previous_edge, next_edge, t)\n" | |||||
| "\n" | |||||
| " Build an SVertexIterator that starts iteration from an SVertex\n" | |||||
| " object v.\n" | |||||
| "\n" | |||||
| " :arg vertex: The SVertex from which the iterator starts iteration.\n" | " :arg vertex: The SVertex from which the iterator starts iteration.\n" | ||||
| " :type vertex: :class:`SVertex`\n" | " :type vertex: :class:`SVertex`\n" | ||||
| " :arg begin: The first SVertex of a ViewEdge.\n" | " :arg begin: The first SVertex of a ViewEdge.\n" | ||||
| " :type begin: :class:`SVertex`\n" | " :type begin: :class:`SVertex`\n" | ||||
| " :arg previous_edge: The previous FEdge coming to vertex.\n" | " :arg previous_edge: The previous FEdge coming to vertex.\n" | ||||
| " :type previous_edge: :class:`FEdge`\n" | " :type previous_edge: :class:`FEdge`\n" | ||||
| " :arg next_edge: The next FEdge going out from vertex.\n" | " :arg next_edge: The next FEdge going out from vertex.\n" | ||||
| " :type next_edge: :class:`FEdge`\n" | " :type next_edge: :class:`FEdge`\n" | ||||
| " :arg t: The curvilinear abscissa at vertex.\n" | " :arg t: The curvilinear abscissa at vertex.\n" | ||||
| " :type t: float"); | " :type t: float"); | ||||
| static int SVertexIterator_init(BPy_SVertexIterator *self, PyObject *args, PyObject *kwds) | static int SVertexIterator_init(BPy_SVertexIterator *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| static const char *kwlist_2[] = {"vertex", "begin", "previous_edge", "next_edge", "t", NULL}; | static const char *kwlist_2[] = {"vertex", "begin", "previous_edge", "next_edge", "t", NULL}; | ||||
| PyObject *obj1 = 0, *obj2 = 0, *obj3 = 0, *obj4 = 0; | PyObject *obj1 = 0, *obj2 = 0, *obj3 = 0, *obj4 = 0; | ||||
| float t; | float t; | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||