An open API service indexing awesome lists of open source software.

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

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.