math.triangle.inside
Syntax
- b = math.triangle.inside(v2_a,v2_b,v2_c,v2_In)
Determine if a point falls inside a 2D triangle.
Returns: b - Boolean indicating whether or not the point is inside the triangle
Arguments: v2_a - 2D triangle vertex
v2_b - 2D triangle vertex
v2_c - 2D triangle vertex
v2_In - 2D point whose status is tested
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |