alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
629 stars 169 forks source link

no triangle() is found after compiling mex #119

Open amiltonwong opened 3 years ago

amiltonwong commented 3 years ago

Hi, @alecjacobson ,

Is that triangle() function is deprecated? When I'm following gp-matlab-tutorial, calling [V,F] = triangle(V,'Flags','-q20-a0.001'); gives error. And I also found that there's no triangle.[m/cpp], but triangulate.[m/cpp]. The details can be referred to this issue thread. Thanks~

alecjacobson commented 3 years ago

triangle should soon be deprecated. I'll stop maintaining it at least. It's a wrapper to an executable.

If possible triangulate should be used instead. It will be so much faster and also has wrappers to robustly fallback to CGAL. -Alec

On Fri, Jul 30, 2021 at 1:48 PM amiltonwong @.***> wrote:

Hi, @alecjacobson https://github.com/alecjacobson ,

Is that triangle() function is deprecated? When I'm following gp-matlab-tutorial https://github.com/odedstein/gp-matlab-tutorial/blob/main/205_mex/205_mex.md, calling [V,F] = triangle(V,'Flags','-q20-a0.001'); gives error. And I also found that https://github.com/alecjacobson/gptoolbox/tree/master/mex there's no triangle.[m/cpp], but triangulate.[m/cpp]. The details can be referred to this issue thread https://github.com/odedstein/gp-matlab-tutorial/issues/4. Thanks~

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alecjacobson/gptoolbox/issues/119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARDJGPF6S3SFDCURNHN2P3T2LQVFANCNFSM5BI6MN6A .