pyFM.mesh.geometry.heat_geodmat_robust

pyFM.mesh.geometry.heat_geodmat_robust(vertices, faces, verbose=False)

Compute the geodesic distance matrix using the Heat Method, with robust computation.

Parameters:
  • vertices ((n, 3) np.ndarray) – Coordinates of the vertices.

  • faces ((m, 3) np.ndarray) – Vertex indices for each face.

  • verbose (bool, optional) – Whether to display a progress bar.

Returns:

distmat – Geodesic distance matrix.

Return type:

(n, n) np.ndarray