https://github.com/reon90/pointintrianglesample
Sample of various ways determination whether point lies inside triangle
https://github.com/reon90/pointintrianglesample
mathematics
Last synced: 12 days ago
JSON representation
Sample of various ways determination whether point lies inside triangle
- Host: GitHub
- URL: https://github.com/reon90/pointintrianglesample
- Owner: Reon90
- Created: 2017-11-10T12:35:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-10T12:56:40.000Z (over 8 years ago)
- Last Synced: 2025-10-25T05:49:56.562Z (9 months ago)
- Topics: mathematics
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PointInTriangleSample
Sample of various ways determination whether point lies inside triangle.
There are five ways:
* Calculating normals;
* Which side the point is;
* Sum of the angles between vectors;
* Barycentric coordinate system;
* Calculate areas of the triangles.