visual test for circular wander

How to calculate largest possible cirlces restricted within a bounding
box and another circle.