Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }