how to find points inside a 3d delaunayTriangulation object?
2 views (last 30 days)
Show older comments
Philippe Corner
on 2 Mar 2022
Commented: Philippe Corner
on 2 Mar 2022
load('qs.mat')
figure; hold on
trisurf(K,s.Points(:,1),s.Points(:,2),s.Points(:,3),'FaceColor','none')
scatter3(x,y,z,20,'filled','k')
view(-30,10)
0 Comments
Accepted Answer
David Hill
on 2 Mar 2022
p=pointLocation(s,[x,y,z]);
f=find(~isnan(p));%index of points (x,y,z) inside
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!