is_point_in_triangle
- compas.geometry.is_point_in_triangle(point, triangle)[source]
Determine if a point is in the interior of a triangle.
- Parameters
point ([float, float, float] |
compas.geometry.Point
) – A point.triangle ([point, point, point]) – A triangle.
- Returns
bool – True if the point is in inside the triangle. False otherwise.
Notes
Should the point be on the same plane as the triangle?