distanceXY¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/distanceXY.ts for the most up-to-date information.
Overview¶
Returns the distance between 2 points, given by (x,y) coordinates.
@author Chris Malley (cmalley@pixelzoom.com)
Source Code¶
See the source for distanceXY.ts in the dot repository.