distance method

double distance(
  1. TransformNode other
)

The distance between this node's absolute position and other's.

Implementation

double distance(TransformNode other) => absolutePosition.distance(other.absolutePosition);