how to find points inside a 3d delaunayTriangulation object?

2 ビュー (過去 30 日間)
Philippe Corner
Philippe Corner 2022 年 3 月 2 日
コメント済み: Philippe Corner 2022 年 3 月 2 日
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
  1 件のコメント
Philippe Corner
Philippe Corner 2022 年 3 月 2 日
Thanks a lot, I did not know pointLocation function

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by