static SpheroidFactory() { spheroidList.Add(Spheroid.CreateCGCS2000()); spheroidList.Add(Spheroid.CreateBeiJing1954()); spheroidList.Add(Spheroid.CreateXiAn1980()); spheroidList.Add(Spheroid.CreateWGS84()); spheroidList.Add(Spheroid.CreateCustomSpheroid(6378137, 298.257222101)); foreach (var it in spheroidList) { spheroids.Add(it.Id, it); } }
public GaussProj(Spheroid spheroid) { this.spheroid = spheroid; }
public UTMProj(Spheroid spheroid) { this.spheroid = spheroid; gaussProj = new GaussProj(spheroid); }