Пример #1
0
 public GeoDiscreteEventArgs(IGeoDemData geoDemData, Dictionary<short, Color> colorDict, Color defaultColor)
 {
     this.m_GeoDemData = geoDemData;
     this.m_DiscreteColorDict = colorDict;
     this.m_DefaultColor = defaultColor;
     GeopreidictionLayerId.preidictionLayerId++;
     this.m_LayerId = GeopreidictionLayerId.preidictionLayerId;
 }
Пример #2
0
 public GeoDataAssist(IGeoDemData geoDemDta, bool optimizeReading)
 {
     this.m_OptimizeReading = false;
     if (geoDemDta == null)
     {
         throw new GeoNullException();
     }
     this.m_GeoDemData = geoDemDta;
     this.m_BottomOfMap = this.m_GeoDemData.BottomOfBound;
     this.m_RightOfMap = this.m_GeoDemData.RightOfBound;
     this.m_LeftOfMap = this.m_GeoDemData.LeftOfBound;
     this.m_TopOfMap = this.m_GeoDemData.TopOfBound;
     this.m_ResolutionOfMap = this.m_GeoDemData.Resolution;
     this.m_ResolutionRate = 1.0 / this.m_ResolutionOfMap;
     this.m_ColumnsOfMap = this.m_GeoDemData.ColumnsCount;
     this.m_GeoDivInsertVal = new GeoDivInsertVal(this.m_BottomOfMap, this.m_TopOfMap, this.m_LeftOfMap, this.m_RightOfMap, this.m_ResolutionOfMap, this.m_ColumnsOfMap, this.m_GeoDemData);
     this.m_OptimizeReading = optimizeReading;
 }
Пример #3
0
 public GeoDataAssist(IGeoDemData geoDemDta) : this(geoDemDta, false)
 {
 }