The point to check [x, y].
Vertex A of the triangle [x, y].
Vertex B of the triangle [x, y].
Vertex C of the triangle [x, y].
Scales inward adjustment relative to distance for edge handling (default: 1e-6).
True if the point is inside the triangle or on one of its edges; otherwise, false.
Determines if a point lies within a triangle in 2D space. Inspired by: https://stackoverflow.com/a/9755252/5946596