File Exchange

image thumbnail

Check points inside or outside a triangle or tetrahedron

version 1.0.3 (580 KB) by Jin Yang
To check points inside or outside a given 2D triangle, 3D tetrahedron or an arbitrary DIM-dimensional simplex

87 Downloads

Updated 30 Jul 2020

From GitHub

View Version History

View license on GitHub

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 (2021). Check points inside or outside a triangle or tetrahedron (https://github.com/jyang526843/PtInTriCheck), GitHub. Retrieved .

Comments and Ratings (3)

Xue Yang

What if the point is on the surface of the tetrahedron?

Blackpotato

LU XU

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!