|
Blender V5.3
|
#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__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__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" " :param brother: A Curve object.\n" " :type brother: :class:`Curve`\n" " :param id: An Id object.\n" " :type id: :class:`Id`\n") | |
| 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" " :param vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`\n") | |
| 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" " :param vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`\n") | |
| 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\n") | |
| 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\n") | |
| 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 46 of file BPy_FrsCurve.cpp.
References BPy_Interface1D::borrowed, BPy_FrsCurve::c, Freestyle::Curve::Curve(), FrsCurve_init(), FrsCurve_Type, Id_Type, BPy_Interface1D::if1D, and BPy_FrsCurve::py_if1D.
Referenced by FrsCurve_init().
|
static |
Definition at line 200 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 97 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 134 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 211 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__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__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" " :param brother:A Curve object.\n" " :type brother::class:`Curve`\n" " :param id:An Id object.\n" " :type id::class:`Id`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_is_empty_doc | , |
| "True if the Curve doesn't have any Vertex yet.\n" "\n" ":type: bool\n" | ) |
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" " :param vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`\n" | ) |
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" " :param vertex: A vertex object.\n" " :type vertex: :class:`SVertex` | :class:`CurvePoint`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FrsCurve_segments_size_doc | , |
| "The number of segments in the polyline constituting the Curve.\n" "\n" ":type: int\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 216 of file BPy_FrsCurve.cpp.
|
static |
Definition at line 172 of file BPy_FrsCurve.cpp.
| PyTypeObject FrsCurve_Type |
Definition at line 228 of file BPy_FrsCurve.cpp.
Referenced by FrsCurve_init(), and Interface1D_Init().