Convert isosurface output to meshgrid-like data
Afficher commentaires plus anciens
Is there a function to convert isosurface output to meshgrid-like data ? I came up with straighforward code which works very slow.
function [ zn ] = iso2mesh(pv,X2,Y2 )
pa=patch(pv);
xi=pv.vertices(:,1);
yi=pv.vertices(:,2);
zi=pv.vertices(:,3);
[zn]=griddata(xi,yi,zi,X2,Y2);
end
Réponses (1)
Walter Roberson
le 22 Déc 2012
0 votes
TriScatteredInterp might be faster.
1 commentaire
shir
le 22 Déc 2012
Catégories
En savoir plus sur Scalar Volume Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!