Function parry2d_f64::utils::point_in_triangle::corner_direction
source · pub fn corner_direction(
p1: &Point<Real>,
p2: &Point<Real>,
p3: &Point<Real>
) -> OrientationExpand description
Returns the direction of a line through p1, p2 and p3.
Counter-clockwise example: o p1 . o p3 . . . . o p2
Clockwise example: o p2 . . . . . o p3 o p1