public override LocationTriplet getLocationAsOf(double timeStepFraction) { LocationTriplet aTrip = new LocationTriplet(); // inside the array aTrip.Altitude = Altitude.EvaluatePoly(timeStepFraction); aTrip.Latitude = Latitude.EvaluatePoly(timeStepFraction); aTrip.Longitude = Longitude.EvaluatePoly(timeStepFraction); return(aTrip); }