get_normals (method)

get_normals(self, indices=None, loc='center')[source]

Return the array of the normals coordinates.

Parameters
  • self (MeshVTK) – a MeshVTK object

  • indices (list) – list of the points to extract (optional)

  • loc (str) – localization of the normals (“center” or “point”)

Returns

normals – Normals coordinates

Return type

ndarray