GithubHelp home page GithubHelp logo

sreekanthkura7 / geodesic_matlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zishun/geodesic_matlab

0.0 0.0 0.0 270 KB

Exact geodesic for triangular meshes implemented by Danil Kirsanov

Home Page: https://mathworks.com/matlabcentral/fileexchange/18168-exact-geodesic-for-triangular-meshes

License: BSD 2-Clause "Simplified" License

C++ 80.02% C 2.35% MATLAB 17.18% Makefile 0.45%

geodesic_matlab's Introduction

Exact geodesic for triangular meshes

This is an implementation of geodesic (shortest path) algorithm for triangular meshes, written by Danil Kirsanov. The C++ code is hosted on Google Code and the Matlab interface is from Matlab File Exchange.

The code and compiled Windows dynamic-link libraries are originally released on 2008, which are quite old and do not work on modern PCs. The maintainer of this repository modified the code to make it easy to use, following Fritz and Dean Mark's comments.

For algorithm details, please refer to readme.

Build

Windows + MSVC

C++ executable

  1. Build projects example0 and example1 in geodesic.sln.

MATLAB API functions

  1. Build project geodesic in geodesic.sln.
  2. Copy built library geodesic_(debug|release).dll to the folder matlab.
  3. Run example[1-5] in Matlab.

Linux

C++ executable

C/C++ CI

cd src
make example0
./example0.out hedgehog_mesh.txt 3 14

MATLAB API functions

  1. Build shared library
cd src
make debug
cp ./geodesic_debug.so ../matlab/
  1. Run example[1-5] in Matlab.

Known Issues

See Issues.

Author

Danil Kirsanov

Related Projects

All projects in this list use the same geodesic algorithm implementation.

  • alecjacobson/gptoolbox: a matlab toolbox for geometry processing.
  • libigl/libigl: a wrapper exposed through an Eigen-based API.
  • MeshUtility: Python binding, including an approximated method of edge-sourced geodesic distance field computation.

geodesic_matlab's People

Contributors

zishun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.