/// <summary> /// Read a .frt file and write the positions of its nodes to the console. /// </summary> /// <param name="frtPath">Path of the file to read.</param> private static void ReadFrtAndPrintNodePositions(string frtPath) { var routeSet = TppRouteSetExamples.ReadRouteSet(frtPath); var positions = from route in routeSet.Routes from node in route.Nodes select node.Position; foreach (var position in positions) { Console.WriteLine(position); } }