Exemplo n.º 1
0
 public void SetProjectionParams(GaussProjectionParams proParamsStruct)
 {
     base.m_Name = proParamsStruct.name;
     base.SetCoordinateOrigin(proParamsStruct.latitudeOrigin, proParamsStruct.longitudeOrigin);
     base.m_XFalseNorth = proParamsStruct.xFalseNorth;
     base.m_YFalseEast = proParamsStruct.yFalseNorth;
 }
Exemplo n.º 2
0
 public ObliqueStereographicProj(GaussProjectionParams proParamsStruct, GeoSpheroid spheroidObject) : base(proParamsStruct, spheroidObject)
 {
     this.m_R = -1.0;
     this.m_nRate = -1.0;
     this.m_formulaB0 = -1.0;
     this.m_formulaL0 = -1.0;
     this.m_cRate = -1.0;
 }
Exemplo n.º 3
0
 public GeoProjFileSystem()
 {
     this.m_SystemName = "NewSystem";
     this.m_SystemID = -1;
     this.m_Spheriod = string.Empty;
     this.m_ProjectionName = string.Empty;
     this.m_FilePath = string.Empty;
     this.m_GaussProjParams = new GaussProjectionParams();
     this.m_DistortionProjParams = new DistortionProjectionParams();
     this.m_ConeProjParams = new ConeProjectionParams();
     this.m_CurrentProjParamType = ProjParamType.NULL;
     this.m_GeoProjFileSystemList = new List<GeoProjFileSystem>();
     this.m_SetProjectionParamsDict = new Dictionary<ProjParamType, SetProjectionParam>();
     this.m_SetProjectionParamsDict.Add(ProjParamType.GaussProjParam, new SetProjectionParam(this.SetGaussProjectionParams));
     this.m_SetProjectionParamsDict.Add(ProjParamType.DistortionProjParam, new SetProjectionParam(this.SetDistortionProjectionParams));
     this.m_SetProjectionParamsDict.Add(ProjParamType.ConeProjParam, new SetProjectionParam(this.SetConeProjectionParams));
     this.InitProjectionDict();
 }
Exemplo n.º 4
0
 public bool Equals(GaussProjectionParams gaussProjPrams)
 {
     if (!gaussProjPrams.name.Equals(this.name))
     {
         return false;
     }
     if (gaussProjPrams.latitudeOrigin != this.latitudeOrigin)
     {
         return false;
     }
     if (gaussProjPrams.longitudeOrigin != this.longitudeOrigin)
     {
         return false;
     }
     if (gaussProjPrams.xFalseNorth != this.xFalseNorth)
     {
         return false;
     }
     if (gaussProjPrams.yFalseNorth != this.yFalseNorth)
     {
         return false;
     }
     return true;
 }
Exemplo n.º 5
0
 public GaussProjection(GaussProjectionParams proParamsStruct, GeoSpheroid spheroidObject)
 {
     this.SetProjectionParams(proParamsStruct);
     base.SetSpheroid(spheroidObject);
 }