Blender V5.0
mathutils_Euler.hh File Reference
#include <Python.h>
#include "mathutils.hh"

Go to the source code of this file.

Classes

struct  EulerObject

Macros

#define EulerObject_Check(v)
#define EulerObject_CheckExact(v)

Functions

PyObject * Euler_CreatePyObject (const float eul[3], short order, PyTypeObject *base_type)
PyObject * Euler_CreatePyObject_wrap (float eul[3], short order, PyTypeObject *base_type) ATTR_NONNULL(1)
PyObject * Euler_CreatePyObject_cb (PyObject *cb_user, short order, unsigned char cb_type, unsigned char cb_subtype)
short euler_order_from_string (const char *str, const char *error_prefix)

Variables

PyTypeObject euler_Type

Macro Definition Documentation

◆ EulerObject_Check

#define EulerObject_Check ( v)
Value:
PyObject_TypeCheck((v), &euler_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v
PyTypeObject euler_Type

Definition at line 16 of file mathutils_Euler.hh.

Referenced by C_Matrix_LocRotScale(), Euler_richcmpr(), mathutils_any_to_rotmat(), mathutils_array_parse(), and mathutils_array_parse_alloc().

◆ EulerObject_CheckExact

#define EulerObject_CheckExact ( v)
Value:
(Py_TYPE(v) == &euler_Type)

Definition at line 17 of file mathutils_Euler.hh.

Function Documentation

◆ Euler_CreatePyObject()

PyObject * Euler_CreatePyObject ( const float eul[3],
short order,
PyTypeObject * base_type )
nodiscard

◆ Euler_CreatePyObject_cb()

PyObject * Euler_CreatePyObject_cb ( PyObject * cb_user,
short order,
unsigned char cb_type,
unsigned char cb_subtype )
nodiscard

Definition at line 1044 of file mathutils_Euler.cc.

References BLI_assert, Euler_CreatePyObject(), and self.

Referenced by pyrna_math_object_from_array().

◆ Euler_CreatePyObject_wrap()

PyObject * Euler_CreatePyObject_wrap ( float eul[3],
short order,
PyTypeObject * base_type )
nodiscard

◆ euler_order_from_string()

short euler_order_from_string ( const char * str,
const char * error_prefix )
nodiscard

Variable Documentation

◆ euler_Type

PyTypeObject euler_Type
extern