normal_triangle
- compas.geometry.normal_triangle(triangle, unitized=True)[source]
Compute the normal vector of a triangle.
- Parameters
triangle (list of list) – A list of triangle point coordinates.
- Returns
list – The normal vector.
- Raises
ValueError – If the triangle does not have three vertices.