Go to the source code of this file.
|
| | 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) |
| | PyDoc_STRVAR (M_Interpolate_doc, "The Blender interpolate module.") |
| PyMODINIT_FUNC | PyInit_mathutils_interpolate () |
◆ M_Interpolate_poly_3d_calc()
| PyObject * M_Interpolate_poly_3d_calc |
( |
PyObject * | , |
|
|
PyObject * | args ) |
|
static |
◆ PyDoc_STRVAR() [1/2]
| PyDoc_STRVAR |
( |
M_Interpolate_doc | , |
|
|
"The Blender interpolate module." | ) |
◆ PyDoc_STRVAR() [2/2]
| 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] ) |
◆ PyInit_mathutils_interpolate()
| PyMODINIT_FUNC PyInit_mathutils_interpolate |
( |
| ) |
|
◆ M_Interpolate_methods
| PyMethodDef M_Interpolate_methods[] |
|
static |
Initial value: = {
{"poly_3d_calc",
METH_VARARGS,
M_Interpolate_poly_3d_calc_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * M_Interpolate_poly_3d_calc(PyObject *, PyObject *args)
Definition at line 84 of file mathutils_interpolate.cc.
◆ M_Interpolate_module_def
| PyModuleDef M_Interpolate_module_def |
|
static |