area_triangle
- compas.geometry.area_triangle(triangle)[source]
Compute the area of a triangle defined by three points.
- Parameters
triangle (list of list) – XYZ coordinates of the corners of the triangle.
- Returns
float – The area of the triangle.
Compute the area of a triangle defined by three points.
triangle (list of list) – XYZ coordinates of the corners of the triangle.
float – The area of the triangle.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev