private static Point ReadTokensIntoWind(IReadOnlyList<string> tokens) { Debug.Assert(tokens.Count == 3); var point = new Point(); point.SetEasting(double.Parse(tokens[0])); point.SetNorthing(double.Parse(tokens[1])); point.SetElevation(double.Parse(tokens[2])); return point; }
private static Point ReadTokensIntoPoint(string[] tokens) { Debug.Assert(tokens.Length == 3); var point = new Point(); point.SetEasting(double.Parse(tokens[0])); point.SetNorthing(double.Parse(tokens[1])); point.SetElevation(double.Parse(tokens[2])); return point; }