public bool Equals(Route other) { return((_routePoints == null && other._routePoints == null) || (_routePoints != null && other._routePoints != null && _routePoints.SequenceEqual(other._routePoints))); }
public static Rect2D ToRect(this Route route) => Union(Rect2D.Undefined, route);