Blender  V3.3
Functions | Variables
BPy_Interface0D.cpp File Reference
#include "BPy_Interface0D.h"
#include "BPy_Convert.h"
#include "BPy_Nature.h"
#include "Interface0D/BPy_CurvePoint.h"
#include "Interface0D/BPy_SVertex.h"
#include "Interface0D/BPy_ViewVertex.h"
#include "Interface0D/CurvePoint/BPy_StrokeVertex.h"
#include "Interface0D/ViewVertex/BPy_NonTVertex.h"
#include "Interface0D/ViewVertex/BPy_TVertex.h"
#include "Interface1D/BPy_FEdge.h"

Go to the source code of this file.

Functions

int Interface0D_Init (PyObject *module)
 
 PyDoc_STRVAR (Interface0D_doc, "Base class for any 0D element.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.")
 
static int Interface0D_init (BPy_Interface0D *self, PyObject *args, PyObject *kwds)
 
static void Interface0D_dealloc (BPy_Interface0D *self)
 
static PyObject * Interface0D_repr (BPy_Interface0D *self)
 
 PyDoc_STRVAR (Interface0D_get_fedge_doc, ".. method:: get_fedge(inter)\n" "\n" " Returns the FEdge that lies between this 0D element and the 0D\n" " element given as the argument.\n" "\n" " :arg inter: A 0D element.\n" " :type inter: :class:`Interface0D`\n" " :return: The FEdge lying between the two 0D elements.\n" " :rtype: :class:`FEdge`")
 
static PyObject * Interface0D_get_fedge (BPy_Interface0D *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (Interface0D_name_doc, "The string of the name of this 0D element.\n" "\n" ":type: str")
 
static PyObject * Interface0D_name_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_point_3d_doc, "The 3D point of this 0D element.\n" "\n" ":type: :class:`mathutils.Vector`")
 
static PyObject * Interface0D_point_3d_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_projected_x_doc, "The X coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float")
 
static PyObject * Interface0D_projected_x_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_projected_y_doc, "The Y coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float")
 
static PyObject * Interface0D_projected_y_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_projected_z_doc, "The Z coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float")
 
static PyObject * Interface0D_projected_z_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_point_2d_doc, "The 2D point of this 0D element.\n" "\n" ":type: :class:`mathutils.Vector`")
 
static PyObject * Interface0D_point_2d_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_id_doc, "The Id of this 0D element.\n" "\n" ":type: :class:`Id`")
 
static PyObject * Interface0D_id_get (BPy_Interface0D *self, void *UNUSED(closure))
 
 PyDoc_STRVAR (Interface0D_nature_doc, "The nature of this 0D element.\n" "\n" ":type: :class:`Nature`")
 
static PyObject * Interface0D_nature_get (BPy_Interface0D *self, void *UNUSED(closure))
 

Variables

static PyMethodDef BPy_Interface0D_methods []
 
static PyGetSetDef BPy_Interface0D_getseters []
 
PyTypeObject Interface0D_Type
 

Function Documentation

◆ Interface0D_dealloc()

static void Interface0D_dealloc ( BPy_Interface0D self)
static

Definition at line 103 of file BPy_Interface0D.cpp.

References self.

◆ Interface0D_get_fedge()

static PyObject* Interface0D_get_fedge ( BPy_Interface0D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 128 of file BPy_Interface0D.cpp.

References Any_BPy_FEdge_from_FEdge(), and Interface0D_Type.

◆ Interface0D_id_get()

static PyObject* Interface0D_id_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 242 of file BPy_Interface0D.cpp.

References BPy_Id_from_Id(), id, and self.

◆ Interface0D_init()

static int Interface0D_init ( BPy_Interface0D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 91 of file BPy_Interface0D.cpp.

◆ Interface0D_Init()

int Interface0D_Init ( PyObject *  module)

◆ Interface0D_name_get()

static PyObject* Interface0D_name_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 162 of file BPy_Interface0D.cpp.

◆ Interface0D_nature_get()

static PyObject* Interface0D_nature_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 256 of file BPy_Interface0D.cpp.

References BPy_Nature_from_Nature().

◆ Interface0D_point_2d_get()

static PyObject* Interface0D_point_2d_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 228 of file BPy_Interface0D.cpp.

References self, and Vector_from_Vec2f().

◆ Interface0D_point_3d_get()

static PyObject* Interface0D_point_3d_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 172 of file BPy_Interface0D.cpp.

References self, and Vector_from_Vec3f().

◆ Interface0D_projected_x_get()

static PyObject* Interface0D_projected_x_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 186 of file BPy_Interface0D.cpp.

References Freestyle::x.

◆ Interface0D_projected_y_get()

static PyObject* Interface0D_projected_y_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 200 of file BPy_Interface0D.cpp.

References y.

◆ Interface0D_projected_z_get()

static PyObject* Interface0D_projected_z_get ( BPy_Interface0D self,
void UNUSEDclosure 
)
static

Definition at line 214 of file BPy_Interface0D.cpp.

References z.

◆ Interface0D_repr()

static PyObject* Interface0D_repr ( BPy_Interface0D self)
static

Definition at line 111 of file BPy_Interface0D.cpp.

References self.

◆ PyDoc_STRVAR() [1/10]

PyDoc_STRVAR ( Interface0D_doc  ,
"Base class for any 0D element.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor."   
)

◆ PyDoc_STRVAR() [2/10]

PyDoc_STRVAR ( Interface0D_get_fedge_doc  ,
".. method:: get_fedge(inter)\n" "\n" " Returns the FEdge that lies between this 0D element and the 0D\n" " element given as the argument.\n" "\n" " :arg inter: A 0D element.\n" " :type inter: :class:`Interface0D`\n" " :return: The FEdge lying between the two 0D elements.\n" " :rtype: :class:`FEdge`"   
)

◆ PyDoc_STRVAR() [3/10]

PyDoc_STRVAR ( Interface0D_id_doc  ,
"The Id of this 0D element.\n" "\n" ":type: :class:`Id`"   
)

◆ PyDoc_STRVAR() [4/10]

PyDoc_STRVAR ( Interface0D_name_doc  ,
"The string of the name of this 0D element.\n" "\n" ":type: str  
)

◆ PyDoc_STRVAR() [5/10]

PyDoc_STRVAR ( Interface0D_nature_doc  ,
"The nature of this 0D element.\n" "\n" ":type: :class:`Nature`"   
)

◆ PyDoc_STRVAR() [6/10]

PyDoc_STRVAR ( Interface0D_point_2d_doc  ,
"The 2D point of this 0D element.\n" "\n" ":type: :class:`mathutils.Vector`"   
)

◆ PyDoc_STRVAR() [7/10]

PyDoc_STRVAR ( Interface0D_point_3d_doc  ,
"The 3D point of this 0D element.\n" "\n" ":type: :class:`mathutils.Vector`"   
)

◆ PyDoc_STRVAR() [8/10]

PyDoc_STRVAR ( Interface0D_projected_x_doc  ,
"The X coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float  
)

◆ PyDoc_STRVAR() [9/10]

PyDoc_STRVAR ( Interface0D_projected_y_doc  ,
"The Y coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float  
)

◆ PyDoc_STRVAR() [10/10]

PyDoc_STRVAR ( Interface0D_projected_z_doc  ,
"The Z coordinate of the projected 3D point of this 0D element.\n" "\n" ":type: float  
)

Variable Documentation

◆ BPy_Interface0D_getseters

PyGetSetDef BPy_Interface0D_getseters[]
static

Definition at line 265 of file BPy_Interface0D.cpp.

◆ BPy_Interface0D_methods

PyMethodDef BPy_Interface0D_methods[]
static
Initial value:
= {
{"get_fedge",
(PyCFunction)Interface0D_get_fedge,
METH_VARARGS | METH_KEYWORDS,
Interface0D_get_fedge_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * Interface0D_get_fedge(BPy_Interface0D *self, PyObject *args, PyObject *kwds)

Definition at line 147 of file BPy_Interface0D.cpp.

◆ Interface0D_Type

PyTypeObject Interface0D_Type