# File Springz.rb, line 362 def distance_dx_dy(other_point) dx = other_point.x-@x dy = other_point.y-@y return Math.sqrt( dx*dx+dy*dy ), dx, dy end