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 and p3.
  • Returns true if point p is in triangle with corners v1, v2 and v3. Returns None if the triangle is invalid i.e. all points are the same or on a straight line.