public SHPMultiPoint(BinaryReader b) { region = new Region(b); NumPoints = b.ReadInt32(); Points = new SHPPoint[NumPoints]; for (int i = 0; i < NumPoints; i++) { Points[i] = new SHPPoint(b); } }
public SHPPolyLine(BinaryReader b) { region = new Region(b); NumParts = b.ReadInt32(); NumPoints = b.ReadInt32(); Parts = new Int32[NumParts]; Points = new SHPPoint[NumPoints]; for (int i = 0; i < NumParts; i++) { Parts[i] = b.ReadInt32(); } for (int i = 0; i < NumPoints; i++) { Points[i] = new SHPPoint(b); } }