MATLAB Answers

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

3 views (last 30 days)
Abru
Abru on 25 Jul 2019
Answered: Jan on 25 Jul 2019
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

  0 Comments

Sign in to comment.

Accepted Answer

Jan
Jan on 25 Jul 2019
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.