This function assumes boxes have open bounds, i.e. points lying on the border of the box are not inside. Use IsInsideOrOnXY to include borders in the test. true if location is inside this box in the XY plane.