85 "Base class for any 0D element.\n"
87 ".. method:: __init__()\n"
89 " Default constructor.");
93 static const char *kwlist[] = {
nullptr};
95 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"", (
char **)kwlist)) {
99 self->borrowed =
false;
105 if (
self->if0D && !
self->borrowed) {
108 Py_TYPE(
self)->tp_free((PyObject *)
self);
113 return PyUnicode_FromFormat(
114 "type: %s - address: %p",
self->if0D->getExactTypeName().c_str(),
self->if0D);
118 ".. method:: get_fedge(inter)\n"
120 " Returns the FEdge that lies between this 0D element and the 0D\n"
121 " element given as the argument.\n"
123 " :arg inter: A 0D element.\n"
124 " :type inter: :class:`Interface0D`\n"
125 " :return: The FEdge lying between the two 0D elements.\n"
126 " :rtype: :class:`FEdge`");
130 static const char *kwlist[] = {
"inter",
nullptr};
133 if (!PyArg_ParseTupleAndKeywords(
138 if (PyErr_Occurred()) {
150 METH_VARARGS | METH_KEYWORDS,
151 Interface0D_get_fedge_doc},
152 {
nullptr,
nullptr, 0,
nullptr},
158 "The string of the name of this 0D element.\n"
164 return PyUnicode_FromString(Py_TYPE(
self)->tp_name);
168 "The 3D point of this 0D element.\n"
170 ":type: :class:`mathutils.Vector`");
175 if (PyErr_Occurred()) {
182 "The X coordinate of the projected 3D point of this 0D element.\n"
188 real x =
self->if0D->getProjectedX();
189 if (PyErr_Occurred()) {
192 return PyFloat_FromDouble(
x);
196 "The Y coordinate of the projected 3D point of this 0D element.\n"
202 real y =
self->if0D->getProjectedY();
203 if (PyErr_Occurred()) {
206 return PyFloat_FromDouble(
y);
210 "The Z coordinate of the projected 3D point of this 0D element.\n"
216 real z =
self->if0D->getProjectedZ();
217 if (PyErr_Occurred()) {
220 return PyFloat_FromDouble(
z);
224 "The 2D point of this 0D element.\n"
226 ":type: :class:`mathutils.Vector`");
231 if (PyErr_Occurred()) {
238 "The Id of this 0D element.\n"
240 ":type: :class:`Id`");
245 if (PyErr_Occurred()) {
252 "The nature of this 0D element.\n"
254 ":type: :class:`Nature`");
259 if (PyErr_Occurred()) {
270 Interface0D_point_3d_doc,
275 Interface0D_projected_x_doc,
280 Interface0D_projected_y_doc,
285 Interface0D_projected_z_doc,
290 Interface0D_point_2d_doc,
294 {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr}
300 PyVarObject_HEAD_INIT(
nullptr, 0)
"Interface0D",
318 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyObject * Vector_from_Vec3f(Vec3f &vec)
PyObject * Vector_from_Vec2f(Vec2f &vec)
PyObject * Any_BPy_FEdge_from_FEdge(FEdge &fe)
PyObject * BPy_Id_from_Id(Id &id)
PyObject * BPy_Nature_from_Nature(unsigned short n)
PyTypeObject CurvePoint_Type
static PyObject * Interface0D_repr(BPy_Interface0D *self)
static void Interface0D_dealloc(BPy_Interface0D *self)
static PyObject * Interface0D_projected_x_get(BPy_Interface0D *self, void *UNUSED(closure))
PyTypeObject Interface0D_Type
static int Interface0D_init(BPy_Interface0D *self, PyObject *args, PyObject *kwds)
static PyObject * Interface0D_point_2d_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyObject * Interface0D_point_3d_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyGetSetDef BPy_Interface0D_getseters[]
PyDoc_STRVAR(Interface0D_doc, "Base class for any 0D element.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.")
static PyObject * Interface0D_projected_y_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyMethodDef BPy_Interface0D_methods[]
static PyObject * Interface0D_get_fedge(BPy_Interface0D *self, PyObject *args, PyObject *kwds)
int Interface0D_Init(PyObject *module)
static PyObject * Interface0D_id_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyObject * Interface0D_projected_z_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyObject * Interface0D_nature_get(BPy_Interface0D *self, void *UNUSED(closure))
static PyObject * Interface0D_name_get(BPy_Interface0D *self, void *UNUSED(closure))
PyTypeObject NonTVertex_Type
void SVertex_mathutils_register_callback()
PyTypeObject SVertex_Type
void StrokeVertex_mathutils_register_callback()
PyTypeObject StrokeVertex_Type
PyTypeObject TVertex_Type
PyTypeObject ViewVertex_Type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble z
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
unsigned short VertexNature
static struct PyModuleDef module