src/AircraftTrajectories/Models/Visualisation/KML/KMLAnimator.cs
/// <summary>
/// Generate a file containing the animation in kml format
/// </summary>
/// <param name="duration">the duration of the animation</param>
/// <param name="filepath">the filepath at which this animation needs to be stored</param>
Generate a file containing the animation in kml format
Generate a file containing the animation in kml format
public void AnimationToFile(int duration, string filepath)
        {
            string animationKMLString = CreateAnimationKML(duration);
            System.IO.StreamWriter file = new System.IO.StreamWriter(filepath);
            file.Write(animationKMLString);
            file.Close();
        }
public void AnimationToFile ( int duration , string filepath ) { string animationKMLString = CreateAnimationKML ( duration ) ; System . IO . StreamWriter file = new System . IO . StreamWriter ( filepath ) ; file . Write ( animationKMLString ) ; file . Close ( ) ; }
Generate a file containing the animation in kml format
Generate a file containing the animation in kml format
duration
int
the duration of the animation
the duration of the animation
filepath
string
the filepath at which this animation needs to be stored
the filepath at which this animation needs to be stored