- override
Returns the distance between this
and other
.
Source
@override double distanceTo(math.Point<T> other) { var dx = x - other.x; var dy = y - other.y; return sqrt(dx * dx + dy * dy); }
Returns the distance between this
and other
.
@override double distanceTo(math.Point<T> other) { var dx = x - other.x; var dy = y - other.y; return sqrt(dx * dx + dy * dy); }