pyFM.mesh.geometry.geodesic_distmat_fast_marching

pyFM.mesh.geometry.geodesic_distmat_fast_marching(vertices, faces)

Compute the geodesic distance matrix using the Fast Marching algorithm.

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

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

Returns:

geod_dist – Geodesic distance matrix.

Return type:

(n, n) np.ndarray