private void ReadPolyCategory(GraphicalObjectType type) { this.ReadBox(); int numParts = this.ReadInteger(ByteOrder.LittleEndian); int numPoints = this.ReadInteger(ByteOrder.LittleEndian); if (type == GraphicalObjectType.REGION) { this.ReadPolygon(numParts, numPoints); } }
private void ReadMultiPointCategory(GraphicalObjectType type) { }
private void ReadPointCategory(GraphicalObjectType type) { if (type == GraphicalObjectType.POINT) { double x = this.ReadDouble(ByteOrder.LittleEndian); double y = this.ReadDouble(ByteOrder.LittleEndian); GeoDisplayPoint item = new GeoDisplayPoint(new GeoXYPoint(x, y), this.m_DefaultPointStyle); item.AddFeature("ID", this.CreateMapUnitId()); this.m_PointList.Add(item); } else { List<double> list = null; list = this.ReadValueList(1); if (type == GraphicalObjectType.PointM) { } } }
private void ReadLineCategory(GraphicalObjectType type) { this.ReadBox(); int numParts = this.ReadInteger(ByteOrder.LittleEndian); int numPoints = this.ReadInteger(ByteOrder.LittleEndian); if (type == GraphicalObjectType.PLINE) { this.ReadPolyLine(numParts, numPoints); } }