skshapes.morphing.intrinsic_deformation.as_isometric_as_possible

skshapes.morphing.intrinsic_deformation.as_isometric_as_possible(points_sequence, velocities_sequence, edges=None, triangles=None)

As isometric as possible metric.

This metric penalizes the non-isometricity of the mesh.

Compute the mean velocities’ metric along the sequence of points.

Parameters:
  • points_sequence (Float32[Tensor, '_ _ _']) – Sequence of points

  • velocities_sequence (Float32[Tensor, '_ _ _']) – Sequence of velocities.

  • edges (Int64[Tensor, '_ 2'] | None) – Edges.

  • triangles (Int64[Tensor, '_ 3'] | None) – Triangles.

Raises:

AttributeError – This metric requires edges to be defined:

Return type:

Float32[Tensor, '']

Returns:

FloatScalar: the mean velocities metric

References

[KILIAN, Martin, MITRA, Niloy J., et POTTMANN, Helmut. Geometric modeling in shape space. In : ACM SIGGRAPH 2007 papers. 2007. p. 64-es.](https://dmg.tuwien.ac.at/geom/ig/publications/oldpub/2007/kilian-2007-gmss/paper_docs/shape_space_sig_07.pdf)