|
Blender V5.3
|
#include <Python.h>#include "mathutils.hh"#include "mathutils_interpolate.hh"#include "BLI_math_geom_c.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| blender::PyDoc_STRVAR (M_Interpolate_poly_3d_calc_doc, ".. function:: poly_3d_calc(veclist, pt, /)\n" "\n" " Calculate barycentric weights for a point on a polygon.\n" "\n" " :param veclist: Sequence of 3D positions.\n" " :type veclist: Sequence[Sequence[float]]\n" " :param pt: 2D or 3D position.\n" " :type pt: Sequence[float]\n" " :return: A list of weights, one per vertex in *veclist*.\n" " :rtype: list[float]\n") | |
| static PyObject * | blender::M_Interpolate_poly_3d_calc (PyObject *, PyObject *args) |
| blender::PyDoc_STRVAR (M_Interpolate_doc, "The Blender interpolate module.") | |
| PyMODINIT_FUNC | blender::PyInit_mathutils_interpolate () |
Untyped Allocation API. | |
Defines the 'C-style' part of the API, where memory management is fully untyped (i.e. done with void pointers and explicit size values). This API should usually not be used anymore in C++ code, unless some form of raw memory management is necessary (e.g. for allocation of various ID types based on their #IDTypeInfo::struct_size data). | |
| void | blender::MEM_delete_void (void *vmemh) |
| void * | blender::MEM_dupalloc_void (const void *vmemh) ATTR_WARN_UNUSED_RESULT |
| void * | blender::MEM_new_zeroed (size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2) |
| void * | blender::MEM_new_array_zeroed (size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1 |
| void | blender::ATTR_NONNULL (3) |
| void * | blender::MEM_new_uninitialized (size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2) |
| void * | blender::MEM_new_array_uninitialized (size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1 |
| void * | blender::MEM_new_uninitialized_aligned (size_t len, size_t alignment, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(3) |
| void * | blender::ATTR_NONNULL (4) |
Various Helpers. | |
These functions allow to control the behavior of the guarded allocator, and to retrieve (debug) information about allocated memory. | |
| void | blender::MEM_init_memleak_detection (void) |
| void | blender::MEM_enable_fail_on_memleak (void) |
| void | blender::MEM_use_lockfree_allocator (void) |
| void | blender::MEM_use_guarded_allocator (void) |
Variables | |
| static PyMethodDef | blender::M_Interpolate_methods [] |
| static PyModuleDef | blender::M_Interpolate_module_def |
| #define __MEM_GUARDEDALLOC_H__ |
| #define _MSC_STDINT_H_ |
| #define _W64 |
| #define ATTR_ALIGN | ( | x | ) |
| #define ATTR_ALLOC_SIZE | ( | ... | ) |
| #define ATTR_FALLTHROUGH ((void)0) |
| #define ATTR_MALLOC |
| #define ATTR_NONNULL | ( | ... | ) |
| #define ATTR_NORETURN |
| #define ATTR_PRINTF_FORMAT | ( | format_param, | |
| dots_param ) |
| #define ATTR_RETURNS_NONNULL |
| #define ATTR_SENTINEL | ( | arg_pos | ) |
| #define ATTR_WARN_UNUSED_RESULT |
| #define BLI_ALIGN_STRUCT |
| #define INT16_C | ( | val | ) |
| #define INT16_MAX _I16_MAX |
| #define INT16_MIN ((int16_t)_I16_MIN) |
| #define INT32_C | ( | val | ) |
| #define INT32_MAX _I32_MAX |
| #define INT32_MIN ((int32_t)_I32_MIN) |
| #define INT64_C | ( | val | ) |
| #define INT64_MAX _I64_MAX |
| #define INT64_MIN ((int64_t)_I64_MIN) |
| #define INT8_C | ( | val | ) |
| #define INT8_MAX _I8_MAX |
| #define INT8_MIN ((int8_t)_I8_MIN) |
| #define INT_FAST16_MAX INT16_MAX |
| #define INT_FAST16_MIN INT16_MIN |
| #define INT_FAST32_MAX INT32_MAX |
| #define INT_FAST32_MIN INT32_MIN |
| #define INT_FAST64_MAX INT64_MAX |
| #define INT_FAST64_MIN INT64_MIN |
| #define INT_FAST8_MAX INT8_MAX |
| #define INT_FAST8_MIN INT8_MIN |
| #define INT_LEAST16_MAX INT16_MAX |
| #define INT_LEAST16_MIN INT16_MIN |
| #define INT_LEAST32_MAX INT32_MAX |
| #define INT_LEAST32_MIN INT32_MIN |
| #define INT_LEAST64_MAX INT64_MAX |
| #define INT_LEAST64_MIN INT64_MIN |
| #define INT_LEAST8_MAX INT8_MAX |
| #define INT_LEAST8_MIN INT8_MIN |
| #define INTMAX_C INT64_C |
| #define INTMAX_MAX INT64_MAX |
| #define INTMAX_MIN INT64_MIN |
| #define INTPTR_MAX INT32_MAX |
| #define INTPTR_MIN INT32_MIN |
| #define MEM_realloc_uninitialized | ( | vmemh, | |
| len ) |
| #define MEM_realloc_zeroed | ( | vmemh, | |
| len ) |
| #define MEM_SIZE_OPTIMAL | ( | size | ) |
| #define MEM_SIZE_OVERHEAD sizeof(size_t) |
| #define PTRDIFF_MAX _I32_MAX |
| #define PTRDIFF_MIN _I32_MIN |
| #define SIG_ATOMIC_MAX INT_MAX |
| #define SIG_ATOMIC_MIN INT_MIN |
| #define SIZE_MAX _UI32_MAX |
| #define UINT16_C | ( | val | ) |
| #define UINT16_MAX _UI16_MAX |
| #define UINT32_C | ( | val | ) |
| #define UINT32_MAX _UI32_MAX |
| #define UINT64_C | ( | val | ) |
| #define UINT64_MAX _UI64_MAX |
| #define UINT8_C | ( | val | ) |
| #define UINT8_MAX _UI8_MAX |
| #define UINT_FAST16_MAX UINT16_MAX |
| #define UINT_FAST32_MAX UINT32_MAX |
| #define UINT_FAST64_MAX UINT64_MAX |
| #define UINT_FAST8_MAX UINT8_MAX |
| #define UINT_LEAST16_MAX UINT16_MAX |
| #define UINT_LEAST32_MAX UINT32_MAX |
| #define UINT_LEAST64_MAX UINT64_MAX |
| #define UINT_LEAST8_MAX UINT8_MAX |
| #define UINTMAX_C UINT64_C |
| #define UINTMAX_MAX UINT64_MAX |
| #define UINTPTR_MAX UINT32_MAX |
| #define WCHAR_MAX _UI16_MAX |
| #define WCHAR_MIN 0 |
| #define WINT_MAX _UI16_MAX |
| #define WINT_MIN 0 |