Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | PyDoc_STRVAR(FEdge_doc, | ||||
| "the left of the edge. For borders, the FEdge is oriented so that the\n" | "the left of the edge. For borders, the FEdge is oriented so that the\n" | ||||
| "face lies on the left of the edge. An FEdge can represent an initial\n" | "face lies on the left of the edge. An FEdge can represent an initial\n" | ||||
| "edge of the mesh or runs across a face of the initial mesh depending\n" | "edge of the mesh or runs across a face of the initial mesh depending\n" | ||||
| "on the smoothness or sharpness of the mesh. This class is specialized\n" | "on the smoothness or sharpness of the mesh. This class is specialized\n" | ||||
| "into a smooth and a sharp version since their properties slightly vary\n" | "into a smooth and a sharp version since their properties slightly vary\n" | ||||
| "from one to the other.\n" | "from one to the other.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: FEdge()\n" | ".. method:: FEdge()\n" | ||||
| " FEdge(brother)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Builds an :class:`FEdge` using the default constructor,\n" | ||||
| "\n" | " copy constructor, or between two :class:`SVertex` objects.\n" | ||||
| ".. method:: FEdge(brother)\n" | |||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: An FEdge object.\n" | " :arg brother: An FEdge object.\n" | ||||
| " :type brother: :class:`FEdge`\n" | " :type brother: :class:`FEdge`\n" | ||||
| "\n" | |||||
| ".. method:: FEdge(first_vertex, second_vertex)\n" | |||||
| "\n" | |||||
| " Builds an FEdge going from the first vertex to the second.\n" | |||||
| "\n" | |||||
| " :arg first_vertex: The first SVertex.\n" | " :arg first_vertex: The first SVertex.\n" | ||||
| " :type first_vertex: :class:`SVertex`\n" | " :type first_vertex: :class:`SVertex`\n" | ||||
| " :arg second_vertex: The second SVertex.\n" | " :arg second_vertex: The second SVertex.\n" | ||||
| " :type second_vertex: :class:`SVertex`"); | " :type second_vertex: :class:`SVertex`"); | ||||
| static int FEdge_init(BPy_FEdge *self, PyObject *args, PyObject *kwds) | static int FEdge_init(BPy_FEdge *self, PyObject *args, PyObject *kwds) | ||||
| { | { | ||||
| static const char *kwlist_1[] = {"brother", NULL}; | static const char *kwlist_1[] = {"brother", NULL}; | ||||
| ▲ Show 20 Lines • Show All 331 Lines • Show Last 20 Lines | |||||