pub fn is_point_in_triangle(
    p: &Point<Real>,
    v1: &Point<Real>,
    v2: &Point<Real>,
    v3: &Point<Real>
) -> Option<bool>
Expand description

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.