Go to the source code of this file.
|
| PyDoc_STRVAR (Chain_doc, "Class hierarchy: :class:`Interface1D` > :class:`Curve` > :class:`Chain`\n" "\n" "Class to represent a 1D elements issued from the chaining process. A\n" "Chain is the last step before the :class:`Stroke` and is used in the\n" "Splitting and Creation processes.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(id)\n" "\n" " Builds a :class:`Chain` using the default constructor,\n" " copy constructor or from an :class:`Id`.\n" "\n" " :arg brother: A Chain object.\n" " :type brother: :class:`Chain`\n" " :arg id: An Id object.\n" " :type id: :class:`Id`") |
|
static int | Chain_init (BPy_Chain *self, PyObject *args, PyObject *kwds) |
|
| PyDoc_STRVAR (Chain_push_viewedge_back_doc, ".. method:: push_viewedge_back(viewedge, orientation)\n" "\n" " Adds a ViewEdge at the end of the Chain.\n" "\n" " :arg viewedge: The ViewEdge that must be added.\n" " :type viewedge: :class:`ViewEdge`\n" " :arg orientation: The orientation with which the ViewEdge must be\n" " processed.\n" " :type orientation: bool") |
|
static PyObject * | Chain_push_viewedge_back (BPy_Chain *self, PyObject *args, PyObject *kwds) |
|
| PyDoc_STRVAR (Chain_push_viewedge_front_doc, ".. method:: push_viewedge_front(viewedge, orientation)\n" "\n" " Adds a ViewEdge at the beginning of the Chain.\n" "\n" " :arg viewedge: The ViewEdge that must be added.\n" " :type viewedge: :class:`ViewEdge`\n" " :arg orientation: The orientation with which the ViewEdge must be\n" " processed.\n" " :type orientation: bool") |
|
static PyObject * | Chain_push_viewedge_front (BPy_Chain *self, PyObject *args, PyObject *kwds) |
|
◆ Chain_init()
static int Chain_init |
( |
BPy_Chain * |
self, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
◆ Chain_push_viewedge_back()
static PyObject* Chain_push_viewedge_back |
( |
BPy_Chain * |
self, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
◆ Chain_push_viewedge_front()
static PyObject* Chain_push_viewedge_front |
( |
BPy_Chain * |
self, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
◆ PyDoc_STRVAR() [1/3]
PyDoc_STRVAR |
( |
Chain_doc |
, |
|
|
"Class hierarchy: :class:`Interface1D` |
, |
|
|
:class:`Curve` |
, |
|
|
:class:`Chain`\n" "\n" "Class to represent a 1D elements issued from the chaining process. A\n" "Chain is the last step before the :class:`Stroke` and is used in the\n" "Splitting and Creation processes.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(id)\n" "\n" " Builds a :class:`Chain` using the default |
constructor, |
|
|
\n" " copy constructor or from an :class:`Id`.\n" "\n" " :arg brother:A Chain object.\n" " :type brother::class:`Chain`\n" " :arg id:An Id object.\n" " :type id::class:`Id`" |
|
|
) |
| |
◆ PyDoc_STRVAR() [2/3]
PyDoc_STRVAR |
( |
Chain_push_viewedge_back_doc |
, |
|
|
".. method:: push_viewedge_back(viewedge, orientation)\n" "\n" " Adds a ViewEdge at the end of the Chain.\n" "\n" " :arg viewedge: The ViewEdge that must be added.\n" " :type viewedge: :class:`ViewEdge`\n" " :arg orientation: The orientation with which the ViewEdge must be\n" " processed.\n" " :type orientation: bool" |
|
|
) |
| |
◆ PyDoc_STRVAR() [3/3]
PyDoc_STRVAR |
( |
Chain_push_viewedge_front_doc |
, |
|
|
".. method:: push_viewedge_front(viewedge, orientation)\n" "\n" " Adds a ViewEdge at the beginning of the Chain.\n" "\n" " :arg viewedge: The ViewEdge that must be added.\n" " :type viewedge: :class:`ViewEdge`\n" " :arg orientation: The orientation with which the ViewEdge must be\n" " processed.\n" " :type orientation: bool" |
|
|
) |
| |
◆ BPy_Chain_methods
PyMethodDef BPy_Chain_methods[] |
|
static |
Initial value:= {
{"push_viewedge_back",
METH_VARARGS | METH_KEYWORDS,
Chain_push_viewedge_back_doc},
{"push_viewedge_front",
METH_VARARGS | METH_KEYWORDS,
Chain_push_viewedge_front_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * Chain_push_viewedge_back(BPy_Chain *self, PyObject *args, PyObject *kwds)
static PyObject * Chain_push_viewedge_front(BPy_Chain *self, PyObject *args, PyObject *kwds)
Definition at line 122 of file BPy_Chain.cpp.
◆ Chain_Type