To check points inside or outside a given 2D triangle, 3D tetrahedron or an arbitrary DIM-dimensional simplex
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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!
Cite As
Jin Yang (2026). Check points inside or outside a triangle or tetrahedron (https://github.com/jyang526843/PtInTriCheck), GitHub. Retrieved .
General Information
- Version 1.0.3 (580 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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 |
