private List<GeoXYPoint> GetClutterUsersOnLine(VectorEntity Vec, short ClutterId, List<int> UserIdxs, int LayerIndex) { GeoXYLine flag = Vec.Flag as GeoXYLine; GeoXYLine geoXYLine = new GeoXYLine(); geoXYLine.AddPoint(flag.Points.ToArray()); return this.m_GeoProvider.GetGeoInfo.GetClutterPointDict(geoXYLine, ClutterId, UserIdxs); }
private void ReadPolyLine(int linesCount) { string[] separator = new string[] { "\t", " " }; string[] strArray2 = null; int num = 0; GeoXYLine line = new GeoXYLine(); while (num < linesCount) { strArray2 = this.ReadValidLine().Split(separator, StringSplitOptions.RemoveEmptyEntries); double x = double.Parse(strArray2[0]); double y = double.Parse(strArray2[1]); GeoXYPoint point = new GeoXYPoint(x, y); line.AddPoint(point); num++; } BrushStyle brushStyle = null; PenStyle penStyle = null; this.BuildStyle(ref penStyle, ref brushStyle); GeoLineStyle style = this.BuildLineStyle(brushStyle, penStyle); GeoDisplayLine item = new GeoDisplayLine(line, style); this.m_PolyLineList.Add(item); }