add methods to determine the position of a box relative to coordinates

Signed-off-by: Florian Thienel <florian@thienel.org>
12 files changed