/// <summary> /// Request the reshaping of the balloon's polygon background. /// </summary> /// <remarks> /// If this is part of a <see cref="T:Northwoods.Go.GoDocument" />, /// this calls <see cref="T:Northwoods.Go.GoDocument" />.<see cref="M:Northwoods.Go.GoDocument.UpdateRoute(Northwoods.Go.IGoRoutable)" /> in order to maybe delay /// the call to <see cref="M:Northwoods.Go.GoBalloon.CalculateRoute" /> (depending on the value of <see cref="P:Northwoods.Go.GoDocument.RoutingTime" />). /// If there is no <see cref="T:Northwoods.Go.GoDocument" />, this just calls <see cref="M:Northwoods.Go.GoBalloon.CalculateRoute" /> immediately. /// </remarks> public virtual void UpdateRoute() { GoDocument document = base.Document; if (document != null) { document.UpdateRoute(this); } else { CalculateRoute(); } }