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.

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.

Source Distribution

Rect-5.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

Rect-5-py2.5.egg (13.1 kB view details)

Uploaded Source

File details

Details for the file Rect-5.tar.gz.

File metadata

  • Download URL: Rect-5.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Rect-5.tar.gz
Algorithm Hash digest
SHA256 935bf43a52153e84559f296407f069f8c7c44aa3102d067562415ad0812240ce
MD5 b533c5efcf4fa3ce6343b8b690801652
BLAKE2b-256 193da00a7b6183238873704cc7ccafcc7ae0fce798ca17010d39bb738882961c

See more details on using hashes here.

File details

Details for the file Rect-5-py2.5.egg.

File metadata

  • Download URL: Rect-5-py2.5.egg
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Rect-5-py2.5.egg
Algorithm Hash digest
SHA256 80702a4f538924e50dbf7ea0a4504fc26efaa031a5fb84266965038250ef7907
MD5 178aecd95fb9718e095a256d7e2f87d4
BLAKE2b-256 2d31758e52c0977226dc793e25dfa2fda73c00c27b6fd5ba17e2f6d96b39d564

See more details on using hashes here.

Supported by

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