how to find points inside a 3d delaunayTriangulation object?

2 次查看(过去 30 天)
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)

采纳的回答

David Hill
David Hill 2022-3-2
p=pointLocation(s,[x,y,z]);
f=find(~isnan(p));%index of points (x,y,z) inside

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by