Ejemplo n.º 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);
     }
 }
Ejemplo n.º 2
0
 private void ReadMultiPointCategory(GraphicalObjectType type)
 {
 }
Ejemplo n.º 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)
         {
         }
     }
 }
Ejemplo n.º 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);
     }
 }