Module parry2d_f64::utils::point_in_triangle
source · Expand description
Function to check if a point is inside a triangle and related functions.
Enums§
- The orientation or winding direction of a corner or polygon.
Functions§
- Returns the direction of a line through
p1
,p2
andp3
. - Returns
true
if pointp
is in triangle with cornersv1
,v2
andv3
. ReturnsNone
if the triangle is invalid i.e. all points are the same or on a straight line.