Alternative to delaunayn function supported by MATLAB coder for the C++ code generation

1 次查看(过去 30 天)
Hi all, I'm new with Matlab. Is there a function which can replace delaunayn? I need to transform a code from Matlab to C++ through Matlab coder, but this function is not supported. I don't striclty need a function which follows the Delaunayn rules, but it can also provides a general triangulation between nodes.
Thank You all

采纳的回答

Jan
Jan 2019-7-25
Matlab uses qhull for the calculation of delaunayn. qhull is a library written in C, see here: http://www.qhull.org/ So it should be possible to rewrite the code in pure C or C++ directly or to call a Mex function.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by