point_in_triangle_2D#
- autoplex.fitting.common.regularization.point_in_triangle_2D(p1, p2, p3, pn)[source]#
Check if a point is inside a triangle in 2D.
- Parameters:
p1 ((tuple)) – coordinates of first point
p2 ((tuple)) – coordinates of second point
p3 ((tuple)) – coordinates of third point
pn ((tuple)) – coordinates of point to check
- Return type:
bool