public MultiPointShape(BinaryReader br) : base(br)
        {
            BoundingBox  = new ShpBox(br);
            NumberPoints = br.ReadInt32();

            Points = ReadPoints(br, NumberPoints);
        }
Exemplo n.º 2
0
        public PolyLineShape(BinaryReader br) : base(br)
        {
            BoundingBox = new ShpBox(br);

            NumParts  = br.ReadInt32();
            NumPoints = br.ReadInt32();

            Parts = ReadParts(br, NumParts);

            Points = this.ReadPoints(br, NumPoints);
        }
Exemplo n.º 3
0
 public MultiPatchShape(BinaryReader br) : base(br)
 {
     BoundingBox  = new ShpBox(br);
     NumberParts  = br.ReadInt32();
     NumberPoints = br.ReadInt32();
     Parts        = ReadParts(br, NumberParts);
     PartTypes    = ReadParts(br, NumberParts).Select(o => (PartType)o).ToList();
     Points       = ReadPoints(br, NumberPoints);
     ZMin         = br.ReadDouble();
     ZMax         = br.ReadDouble();
     ZArray       = ReadDoubles(br, NumberPoints);
     MMin         = br.ReadDouble();
     MMax         = br.ReadDouble();
     MArray       = ReadDoubles(br, NumberPoints);
 }