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