resqpy.olio.vector_utilities.triangles_normal_vectors

resqpy.olio.vector_utilities.triangles_normal_vectors(t: ndarray, p: ndarray) ndarray[source]

For a triangulated set, return an array of unit normal vectors (one per triangle).

Note

resulting vectors implicitly assume that xy & z units are the same; if this is not the case, adjust vectors afterwards as required