area_triangle
- compas.geometry.area_triangle(triangle)[source]
Compute the area of a triangle defined by three points.
- Parameters:
- triangle[point, point, point] |
compas.geometry.Polygon
XYZ coordinates of the corners of the triangle.
- triangle[point, point, point] |
- Returns:
- float
The area of the triangle.
See also