|
Blender V4.5
|
#include <Python.h>#include "mathutils.hh"#include "mathutils_interpolate.hh"#include "BLI_math_geom.h"#include "MEM_guardedalloc.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (M_Interpolate_doc, "The Blender interpolate module") | |
| 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" " :arg veclist: Sequence of 3D positions.\n" " :type veclist: Sequence[Sequence[float]]\n" " :arg pt: 2D or 3D position." " :type pt: Sequence[float]" " :return: list of per-vector weights.\n" " :rtype: list[float]\n") | |
| static PyObject * | M_Interpolate_poly_3d_calc (PyObject *, PyObject *args) |
| PyMODINIT_FUNC | PyInit_mathutils_interpolate () |
Variables | |
| static PyMethodDef | M_Interpolate_methods [] |
| static PyModuleDef | M_Interpolate_module_def |
|
static |
Definition at line 43 of file mathutils_interpolate.cc.
References i, interp_weights_poly_v3(), len(), M_Interpolate_poly_3d_calc(), mathutils_array_parse(), mathutils_array_parse_alloc_v(), MEM_freeN(), MEM_malloc_arrayN(), MU_ARRAY_ZERO, and ret.
Referenced by M_Interpolate_poly_3d_calc().
| PyDoc_STRVAR | ( | M_Interpolate_doc | , |
| "The Blender interpolate module" | ) |
References PyDoc_STRVAR().
| 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" " :arg veclist: Sequence of 3D positions.\n" " :type veclist: Sequence]\n" " :arg pt: 2D or 3D position." " :type pt: Sequence" " :return: list of per-vector weights.\n" " :rtype: list\n" | [Sequence[float][float][float] ) |
References PyDoc_STRVAR().
| PyMODINIT_FUNC PyInit_mathutils_interpolate | ( | ) |
Definition at line 114 of file mathutils_interpolate.cc.
References M_Interpolate_module_def, and PyInit_mathutils_interpolate().
Referenced by PyInit_mathutils(), and PyInit_mathutils_interpolate().
|
static |
Definition at line 90 of file mathutils_interpolate.cc.
|
static |
Definition at line 100 of file mathutils_interpolate.cc.
Referenced by PyInit_mathutils_interpolate().