add closestPointTo to Bounds2 and replace constrainLocation, see https://github.com/phetsims/charges-and-fields/issues/39 https://github.com/phetsims/dot/issues/28
add closestPointTo to Bounds2 and replace constrainLocation, see https://github.com/phetsims/charges-and-fields/issues/39 https://github.com/phetsims/dot/issues/28

phetsims/dot,phetsims/dot,phetsims/dot