diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2019-08-13 14:31:14 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2019-08-13 14:31:14 +0300 |
commit | 6f9cbbc8ec4f42131f46d3d25e7608112bcb7eab (patch) | |
tree | d7be4af1a29470a0380e32ab37c7d720529e01cc /source/blender/python/mathutils/mathutils.h | |
parent | 918150a0b96deec4a413d5689383ee43d7ff4df9 (diff) |
Add mathutils.geometry.delaunay_2d_cdt() function to Python API.
Provides Python API access to recently added Constrained Delaunay
Triangulation routine.
Reviewed in D5467.
Diffstat (limited to 'source/blender/python/mathutils/mathutils.h')
-rw-r--r-- | source/blender/python/mathutils/mathutils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index 8afd60a7324..c9d0dee044f 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -167,6 +167,16 @@ int mathutils_array_parse_alloc_v(float **array, int array_dim, PyObject *value, const char *error_prefix); +int mathutils_int_array_parse(int *array, + int array_dim, + PyObject *value, + const char *error_prefix); +int mathutils_array_parse_alloc_vi(int **array, + int array_dim, + PyObject *value, + const char *error_prefix); +int mathutils_array_parse_alloc_viseq( + int **array, int **start_table, int **len_table, PyObject *value, const char *error_prefix); int mathutils_any_to_rotmat(float rmat[3][3], PyObject *value, const char *error_prefix); Py_hash_t mathutils_array_hash(const float *float_array, size_t array_len); |