Work out the length of the straight line at an angle θ say to one wall which just touches the inner corner in terms of a,b and θ. This length will change as θ changes and it won't be possible to manoeuvre an object around the corner which is longer then the minimum value of this length.