示例#1
0
 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);
     }
 }
示例#2
0
 private void ReadMultiPointCategory(GraphicalObjectType type)
 {
 }
示例#3
0
 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)
         {
         }
     }
 }
示例#4
0
 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);
     }
 }