Check points inside or outside a triangle or tetrahedron

版本 1.0.3 (579.7 KB) 作者: Jin Yang
To check points inside or outside a given 2D triangle, 3D tetrahedron or an arbitrary DIM-dimensional simplex
1.5K 次下载
更新时间 2020/7/30

Introduction
To check points inside or outside a given 2D triangle, 3D tetrahedron, or an arbitrary DIM-dimensional simplex. In geometry, a simplex is a generalization of the notion of a triangle or tetrahedron to arbitrary dimensions. E.g.: A 2D simplex is a triangle. A 3D simplex is a tetrahedral.

Contact and support
Email: Jin Yang, jyang526@wisc.edu;
I appreciate you giving me ratings and leaving comments to help me keep improving this code!

引用格式

Jin Yang (2024). Check points inside or outside a triangle or tetrahedron (https://github.com/jyang526843/PtInTriCheck), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.3

Add a note of the brief theory about how I implement this code.

1.0.2

Updated outputs: 0-Outside triangle; 1-Inside triangle

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库