Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A class for handling rectangle regions.

Project description

The Rect class is similar to the pygame.Rect class, except it works with float precision in a left handed coordinate system.

The rect package also provides a spatial index and a rect packing function.

Changes:
  • 20070728: Bottomleft / Leftbottom bugfixes :-)
  • 20070728: Added HashMap spatial index. (rect.hashmap)
  • 20070723: Quadtree bug fixes
  • 20070718: Added rect packing algorithm. (rect.packer)
  • 20070717: Added QuadTree spatial index. (rect.quadtree)

Project details


Download files

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

Files for Rect, version 5
Filename, size File type Python version Upload date Hashes
Filename, size Rect-5-py2.5.egg (13.1 kB) File type Egg Python version 2.5 Upload date Hashes View hashes
Filename, size Rect-5.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page