Skip to main content

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.

  • 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
Filename, size Rect-5.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page