Blender V4.3
BPy_Interface0D.cpp File Reference

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 *)
 
 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 *)
 
 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 *)
 
 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 *)
 
 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 *)
 
 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 *)
 
 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 *)
 
 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 *)
 

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 100 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 127 of file BPy_Interface0D.cpp.

References Any_BPy_FEdge_from_FEdge(), Interface0D_Type, and self.

◆ Interface0D_id_get()

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

Definition at line 255 of file BPy_Interface0D.cpp.

References BPy_Id_from_Id(), and self.

◆ Interface0D_Init()

◆ Interface0D_init()

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

Definition at line 88 of file BPy_Interface0D.cpp.

References self.

◆ Interface0D_name_get()

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

Definition at line 163 of file BPy_Interface0D.cpp.

References self.

◆ Interface0D_nature_get()

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

Definition at line 271 of file BPy_Interface0D.cpp.

References BPy_Nature_from_Nature(), and self.

◆ Interface0D_point_2d_get()

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

Definition at line 239 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 *  )
static

Definition at line 175 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 *  )
static

Definition at line 191 of file BPy_Interface0D.cpp.

References self.

◆ Interface0D_projected_y_get()

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

Definition at line 207 of file BPy_Interface0D.cpp.

References self.

◆ Interface0D_projected_z_get()

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

Definition at line 223 of file BPy_Interface0D.cpp.

References self, and z().

◆ Interface0D_repr()

static PyObject * Interface0D_repr ( BPy_Interface0D * self)
static

Definition at line 108 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 280 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 146 of file BPy_Interface0D.cpp.

◆ Interface0D_Type

PyTypeObject Interface0D_Type