Check if Points inside a Polyhedron

Checks if points are inside a polyhedron
ダウンロード: 11
更新 2024/9/26

ライセンスの表示

This tool checks if points are inside a polyhedron with example file. The polyhedron faces should be divided into triangles. The numbering of all triangles faces should be consistent. Either all of them in clock wise or counter clock wise direction as seen from the outside.
function I=CheckPointPolyhedron(V,F,vp)
Input:
V: (Nv,3) vertices matrix
F: (Nf,3) faces matrix
vp: (N,3) coordinate matrix of N points.
Output:
I: (1,N) logical vector containing 0 and 1. The value is 1 is if the point is inside the polyhedron and 0 if it is outside.

引用

Ayad Al-Rumaithi (2024). Check if Points inside a Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/159948-check-if-points-inside-a-polyhedron), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.2

Added website.

1.0.1

description

1.0.0