Пример #1
0
        IRI.Msh.Common.Primitives.Point[] GetRandomArray()
        {
            Random xRandom = new Random(13);

            Random yRandom = new Random(40);

            IRI.Msh.Common.Primitives.Point[] result = new Msh.Common.Primitives.Point[1500000];

            for (int i = 0; i < result.Length; i++)
            {
                result[i] = new Msh.Common.Primitives.Point(xRandom.Next(0, 100000), yRandom.Next(0, 100000));
            }

            return(result);
        }
 public string GetCurrentPosstionString(Msh.Common.Primitives.Point geodeticPoint)
 {
     return(this.SelectedItem?.GetPositionString(geodeticPoint));
 }