mymesh.curvature.ShapeIndex#

mymesh.curvature.ShapeIndex(MaxPrincipal, MinPrincipal)[source]#

Calculate shape indices from the maximum and minimum principal curvatures. From Koenderink, J.J. and Van Doorn, A.J., 1992. [KvD92]

Parameters:
  • MaxPrincipal (list, float) – Single value or list of maximum principal curvatures.

  • MinPrincipal (list, float) – Single value or list of principal curvatures.

Returns:

shape – Single value or list of shape indices.

Return type:

list, float