public Dictionary<short, int> GetClutterCountDict(GeoXYLine geoXYLine) { if (this.GetRasterData(DemDataType.Clutter).Count == 0) { return new Dictionary<short, int>(); } if (this.m_IsGeoXYLinePointCalc) { this.m_IsGeoXYLinePointCalc = this.m_CalcGeoXYLine.Equals(geoXYLine); } if (!this.m_IsGeoXYLinePointCalc) { this.m_ClutterIDInLine = this.GetValueByGeoXYLine(geoXYLine, this.GetRasterData(0)[0].Resolution, DemDataType.Clutter, false); this.m_PointListOfClutterID = GeoDataAssist.GetPointsByGeoXYLine(geoXYLine, this.GetRasterData(0)[0].Resolution); this.m_CalcGeoXYLine = geoXYLine.Clone(); this.m_IsGeoXYLinePointCalc = true; } return this.CalcClutterCount(this.m_ClutterIDInLine, this.GetAllClutter()); }