moveNodeToPosition

open fun moveNodeToPosition(@Nonnull node: Node<T>, newPos: Euclidean2DPosition)(source)

Moves the node to the farthestPositionReachable towards the desired newPosition. If the node is shapeless, it is simply moved to newPosition.