21 orientedViewEdgeIterator_doc,
22 "Class hierarchy: :class:`Iterator` > :class:`orientedViewEdgeIterator`\n"
24 "Class representing an iterator over oriented ViewEdges around a\n"
25 ":class:`ViewVertex`. This iterator allows a CCW iteration (in the image\n"
26 "plane). An instance of an orientedViewEdgeIterator can only be\n"
27 "obtained from a ViewVertex by calling edges_begin() or edges_end().\n"
29 ".. method:: __init__(*args)\n"
31 " Accepted call signatures:\n"
34 " - ``__init__(iBrother)``\n"
36 " Creates an :class:`orientedViewEdgeIterator` using either the\n"
37 " default constructor or the copy constructor.\n"
39 " :param iBrother: An orientedViewEdgeIterator object.\n"
40 " :type iBrother: :class:`orientedViewEdgeIterator`\n");
45 static const char *kwlist[] = {
"brother",
nullptr};
46 PyObject *brother =
nullptr;
48 if (!PyArg_ParseTupleAndKeywords(args,
78 return (PyObject *)self;
85 PyErr_SetNone(PyExc_StopIteration);
92 PyErr_SetNone(PyExc_StopIteration);
101 PyErr_SetNone(PyExc_StopIteration);
114 orientedViewEdgeIterator_object_doc,
115 "The oriented ViewEdge (i.e., a tuple of the pointed ViewEdge and a boolean\n"
116 "value) currently pointed to by this iterator. If the boolean value is true,\n"
117 "the ViewEdge is incoming.\n"
119 ":type: tuple[:class:`ViewEdge`, bool]\n");
124 PyErr_SetString(PyExc_RuntimeError,
"iteration has stopped");
134 orientedViewEdgeIterator_object_doc,
136 {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr}
142 PyVarObject_HEAD_INIT(
nullptr, 0)
143 "orientedViewEdgeIterator",
161 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
162 orientedViewEdgeIterator_doc,
PyObject * BPy_directedViewEdge_from_directedViewEdge(ViewVertex::directedViewEdge &dve)
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :param inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :param inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject Iterator_Type
static PyObject * orientedViewEdgeIterator_object_get(BPy_orientedViewEdgeIterator *self, void *)
static int orientedViewEdgeIterator_init(BPy_orientedViewEdgeIterator *self, PyObject *args, PyObject *kwds)
static PyObject * orientedViewEdgeIterator_iter(BPy_orientedViewEdgeIterator *self)
static PyObject * orientedViewEdgeIterator_iternext(BPy_orientedViewEdgeIterator *self)
PyTypeObject orientedViewEdgeIterator_Type
static PyGetSetDef BPy_orientedViewEdgeIterator_getseters[]
virtual bool isBegin() const
virtual bool isEnd() const
pair< ViewEdge *, bool > directedViewEdge
PyObject_HEAD Freestyle::Iterator * it
Freestyle::ViewVertexInternal::orientedViewEdgeIterator * ove_it