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,p2andp3. - Returns
trueif pointpis in triangle with cornersv1,v2andv3. ReturnsNoneif the triangle is invalid i.e. all points are the same or on a straight line.