distance property

num get distance

Implementation

num get distance {
  return sqrt(($1.$1 - $2.$1).sq + ($1.$2 - $2.$2).sq);
}