shortestDistance method
Returns the shortest distance from position
to this edge
Implementation
double shortestDistance(Vector position) =>
vectorFromPosition(position).norm();
Returns the shortest distance from position
to this edge
double shortestDistance(Vector position) =>
vectorFromPosition(position).norm();