Say I have a square rotated 12 degrees, (it's X and Y are in the center of it) how can I detect some other X or Y going in the odd shaped range?