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