mymesh.quality.dihedralAngles#

mymesh.quality.dihedralAngles(Nis, Njs, Abs=False)[source]#

Calculate dihedral angles between paired normal vectors. This function is primarily for internal use with MinDihedral() and MaxDihedral()

Parameters:
  • Nis (array_like) – First list of normal vectors

  • Njs (array_like) – Second list of normal vectors

  • Abs (bool, optional) – Determines whether to calculate the angles as arccos(abs(…)) or arccos(…), by default False

Returns:

angles – Dihedral angles

Return type:

np.ndarray