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