I Tried 2 methods, but both of them are really slow in adding waypoints. I have atleast 300000 coordinates.
// ---- 1 ----
this.STKControl3D.Application.ExecuteCommand($"AddWaypoint */Aircraft/Aircraft1 DetTimeFromVel {lat[i]} {lon[i]} {lalt[i]} 200"};
// ---- 2 ----
IAgVeWaypointsElement waypoint;
waypoint = propogator.Waypoints.Add();
waypoint.Latitude = lat[i];
waypoint.Longitude = lon[i];
waypoint.Altitude = alt[i];
Both of them are slow. Is there any other method to add waypoints faster?
Also, How to make the track of the aircraft visible?