Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
| Show All 32 Lines | |||||
| /*----------------------SVertex methods ----------------------------*/ | /*----------------------SVertex methods ----------------------------*/ | ||||
| PyDoc_STRVAR(SVertex_doc, | PyDoc_STRVAR(SVertex_doc, | ||||
| "Class hierarchy: :class:`Interface0D` > :class:`SVertex`\n" | "Class hierarchy: :class:`Interface0D` > :class:`SVertex`\n" | ||||
| "\n" | "\n" | ||||
| "Class to define a vertex of the embedding.\n" | "Class to define a vertex of the embedding.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| " __init__(point_3d, id)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Builds a :class:`SVertex` using the default constructor,\n" | ||||
| "\n" | " copy constructor or the overloaded constructor which builds" | ||||
| ".. method:: __init__(brother)\n" | " a :class:`SVertex` from 3D coordinates and an Id.\n" | ||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: A SVertex object.\n" | " :arg brother: A SVertex object.\n" | ||||
| " :type brother: :class:`SVertex`\n" | " :type brother: :class:`SVertex`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(point_3d, id)\n" | |||||
| "\n" | |||||
| " Builds a SVertex from 3D coordinates and an Id.\n" | |||||
| "\n" | |||||
| " :arg point_3d: A three-dimensional vector.\n" | " :arg point_3d: A three-dimensional vector.\n" | ||||
| " :type point_3d: :class:`mathutils.Vector`\n" | " :type point_3d: :class:`mathutils.Vector`\n" | ||||
| " :arg id: An Id object.\n" | " :arg id: An Id object.\n" | ||||
| " :type id: :class:`Id`"); | " :type id: :class:`Id`"); | ||||
| static int SVertex_init(BPy_SVertex *self, PyObject *args, PyObject *kwds) | static int SVertex_init(BPy_SVertex *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| ▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines | |||||