コード例 #1
0
ファイル: Lattice.cs プロジェクト: amseet/Orion
        public static GeoLattice ComputeLattice(int CellDimention = 200)
        {
            //Computing Lattice
            #region ComputingLattice
            Console.WriteLine(">Computing Lattice<");

            GeoLattice lattice = new GeoLattice(40.6973f, -74.0200f, 40.8769f, -73.9013f, CellDimention);
            Console.WriteLine("Lattice Dimentions: Rows {0}, Columns {1}, Size {2}.", lattice.Rows, lattice.Columns, lattice.Size);

            Console.WriteLine(">Save Lattice<");
            lattice.SaveLattice(string.Format(@".\Cells-{0}.csv", CellDimention));

            return(lattice);

            #endregion
        }
コード例 #2
0
ファイル: Lattice.cs プロジェクト: amseet/Orion
 public GeoLattice(GeoLattice lattice) : base(lattice)
 {
 }