|
Blender V4.5
|
#include "BPy_FrsCurve.h"#include "../BPy_Convert.h"#include "../BPy_Id.h"#include "../Interface0D/BPy_CurvePoint.h"#include "../Interface0D/BPy_SVertex.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (FrsCurve_doc, "Class hierarchy: :class:`Interface1D` > :class:`Curve`\n" "\n" "Base class for curves made of CurvePoints. :class:`SVertex` is the\n" "type of the initial curve vertices. A :class:`Chain` is a\n" "specialization of a Curve.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(id)\n" "\n" " Builds a :class:`FrsCurve` using a default constructor,\n" " copy constructor or from an :class:`Id`.\n" "\n" " :arg brother: A Curve object.\n" " :type brother: :class:`Curve`\n" " :arg id: An Id object.\n" " :type id: :class:`Id`") | |
| static int | FrsCurve_init (BPy_FrsCurve *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (FrsCurve_push_vertex_back_doc, ".. method:: push_vertex_back(vertex)\n" "\n" " Adds a single vertex at the end of the Curve.\n" "\n" " :arg vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`") | |
| static PyObject * | FrsCurve_push_vertex_back (BPy_FrsCurve *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (FrsCurve_push_vertex_front_doc, ".. method:: push_vertex_front(vertex)\n" "\n" " Adds a single vertex at the front of the Curve.\n" "\n" " :arg vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`") | |
| static PyObject * | FrsCurve_push_vertex_front (BPy_FrsCurve *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (FrsCurve_is_empty_doc, "True if the Curve doesn't have any Vertex yet.\n" "\n" ":type: bool") | |
| static PyObject * | FrsCurve_is_empty_get (BPy_FrsCurve *self, void *) |
| PyDoc_STRVAR (FrsCurve_segments_size_doc, "The number of segments in the polyline constituting the Curve.\n" "\n" ":type: int") | |
| static PyObject * | FrsCurve_segments_size_get (BPy_FrsCurve *self, void *) |
Variables | |
| static PyMethodDef | BPy_FrsCurve_methods [] |
| static PyGetSetDef | BPy_FrsCurve_getseters [] |
| PyTypeObject | FrsCurve_Type |
|
static |
Definition at line 43 of file BPy_FrsCurve.cpp.
References BPy_Interface1D::borrowed, BPy_FrsCurve::c, FrsCurve_init(), FrsCurve_Type, Id_Type, BPy_Interface1D::if1D, and BPy_FrsCurve::py_if1D.
Referenced by FrsCurve_init().
|
static |
Definition at line 174 of file BPy_FrsCurve.cpp.
References BPy_FrsCurve::c, Freestyle::Curve::empty(), FrsCurve_is_empty_get(), and PyBool_from_bool().
Referenced by FrsCurve_is_empty_get().
|
static |
Definition at line 81 of file BPy_FrsCurve.cpp.
References BPy_CurvePoint_Check, BPy_SVertex_Check, BPy_FrsCurve::c, FrsCurve_push_vertex_back(), and Freestyle::Curve::push_vertex_back().
Referenced by FrsCurve_push_vertex_back().
|
static |
Definition at line 113 of file BPy_FrsCurve.cpp.
References BPy_CurvePoint_Check, BPy_SVertex_Check, BPy_FrsCurve::c, FrsCurve_push_vertex_front(), and Freestyle::Curve::push_vertex_front().
Referenced by FrsCurve_push_vertex_front().
|
static |
Definition at line 186 of file BPy_FrsCurve.cpp.
References BPy_FrsCurve::c, FrsCurve_segments_size_get(), and Freestyle::Curve::nSegments().
Referenced by FrsCurve_segments_size_get().
| PyDoc_STRVAR | ( | FrsCurve_doc | , |
| "Class hierarchy: :class:`Interface1D` | , | ||
| :class:`Curve`\n" "\n" "Base class for curves made of CurvePoints. :class:`SVertex` is the\n" "type of the initial curve vertices. A :class:`Chain` is a\n" "specialization of a Curve.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(id)\n" "\n" " Builds a :class:`FrsCurve` using a default | constructor, | ||
| \n" " copy constructor or from an :class:`Id`.\n" "\n" " :arg brother:A Curve object.\n" " :type brother::class:`Curve`\n" " :arg id:An Id object.\n" " :type id::class:`Id`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_is_empty_doc | , |
| "True if the Curve doesn't have any Vertex yet.\n" "\n" ":type: bool" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_push_vertex_back_doc | , |
| ".. method:: push_vertex_back(vertex)\n" "\n" " Adds a single vertex at the end of the Curve.\n" "\n" " :arg vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_push_vertex_front_doc | , |
| ".. method:: push_vertex_front(vertex)\n" "\n" " Adds a single vertex at the front of the Curve.\n" "\n" " :arg vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_segments_size_doc | , |
| "The number of segments in the polyline constituting the Curve.\n" "\n" ":type: int" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 191 of file BPy_FrsCurve.cpp.
|
static |
Definition at line 145 of file BPy_FrsCurve.cpp.
| PyTypeObject FrsCurve_Type |
Definition at line 203 of file BPy_FrsCurve.cpp.
Referenced by FrsCurve_init(), and Interface1D_Init().