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; }
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; }
public GeoDataAssist(IGeoDemData geoDemDta) : this(geoDemDta, false) { }