aabb2
2d axis aligned bounding box functions