Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A small geometry library
branch: master

Merge pull request #2 from bodylabs/install_pxd

Install geotools.pxd to site-packages
latest commit 23cd99c3f6
Runar Tenfjord authored



geotools is a small collection of geometrical classes and functions accessable from both Python and Cython.

  • Point, Vector & Planes
  • Bounding box
  • Transformations
  • A camera class

Most of the code have been adapted from the openNURBS library (public domain).

The license is GPL v2.


  • Python 2.7/3.x or later and Cython 0.17 or later.

Note that currently I can not find a way to install the required Cython 'pxd' files with distutils and this file has to be copied manually.

Prebuild installers are available on the pypi site for the Windows platform.

For Linux build scripts are available for ArchLinux in the AUR repository. These could be adapted to other Linux distros.

Note that currently to be able to build the module on Python 3.x the source must be patched. The '__div__' member must be renamed to '__truediv__' and similar for '__idiv__'.


See online Sphinx docs

Something went wrong with that request. Please try again.