Check points inside or outside a triangle or tetrahedron
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!
Zitieren als
Jin Yang (2024). Check points inside or outside a triangle or tetrahedron (https://github.com/jyang526843/PtInTriCheck), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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 |
|