Skip to main content

Compute geodesic distances

Project description

External Library Geodesic

The gdist module is a Cython interface to a C++ library (http://code.google.com/p/geodesic/) for computing geodesic distance which is the length of shortest line between two vertices on a triangulated mesh in three dimensions, such that the line lies on the surface.

The algorithm is due Mitchell, Mount and Papadimitriou, 1987; the implementation is due to Danil Kirsanov and the Cython interface to Gaurav Malhotra and Stuart Knock.

Original library (published under MIT license): http://code.google.com/p/geodesic/

We added a python wrapped and made small fixes to the original library, to make it compatible with cython.

To install this, either run pip install gdist or download sources from Github and run python setup.py install in current folder.

Basic test could be:

python
import gdist

Python 2.7, Cython, and a C++ compiler are required.

Debian package

In order to produce a Debian package, assuming you have the requisite tools installed (apt-get install devscripts python-all-dev python-stdeb):

cd debian
debuild -us -uc
cd ../../

and you should find a suitable deb file for your system.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvb-gdist-1.5.6.tar.gz (43.2 kB view details)

Uploaded Source

Built Distributions

tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl (79.8 kB view details)

Uploaded CPython 2.7mWindows x86-64

tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl (160.7 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file tvb-gdist-1.5.6.tar.gz.

File metadata

  • Download URL: tvb-gdist-1.5.6.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tvb-gdist-1.5.6.tar.gz
Algorithm Hash digest
SHA256 cc718748b0b6f120818fce987f0cac50f2ef6f95c667c2b6269ebe14381ffb6b
MD5 3c6d751896a3a9c4f3c719e21c4cab15
BLAKE2b-256 1b59aec163b661da10fba06669d64cc9c38ba7e17c5a52eaa322f4db75a97f6e

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 6f69fb3f1268f43a27629e589705d6fee8288fe94680ef26afe1080467c8aa4e
MD5 2886cc784dd83ad0fe173d8edfaabcb5
BLAKE2b-256 3f96f42353e4c192101e5ad9c8b98994ed248613dbceeab5790fa9a565da7927

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 08bd7cbd3b5d105c33c44792528aff6d37b619d69d88c9f93fef4a2d6404cc67
MD5 87c7af732118b3462ff7d8398af06e68
BLAKE2b-256 3cfa2830a52e368a27b218754db86fd62d940d6ef89eb39ecea2a9f50439cce5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page