Skip to content

python wrapper for calculating geodesics on meshes with the fast marching algorithm

License

Notifications You must be signed in to change notification settings

feiran-l/fast_matching_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Marching Python

This repo is a python wrapper of the fast marching algorithm for computing geodesics on a triangular mesh. The code is modified from gproshan.

Note

Fast marching is an approximate algorithm, for exact geodesics, see gdist.

Dependencies

  1. Eigen3
  2. OpenMP
  3. Pybind11 (already contained in this repo)

Usage

  1. Compile the code:
    cd fast_marching/fast_marching 
    mkdir build 
    cd build
    cmake -DPYTHON_EXECUTABLE:FILEPATH=python3 ..
    make 
  1. Run the test.py file for demo. The input is mesh directory and the output is a square matrix recording the pairwise geodesics among all vertices.

About

python wrapper for calculating geodesics on meshes with the fast marching algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published