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: Added HashMap spatial index. (rect.hashmap)

  • 20070723: Quadtree bug fixes

  • 20070718: Added rect packing algorithm. (rect.packer)

  • 20070717: Added QuadTree spatial index. (rect.quadtree)

Supported by

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