public override IShapefileHeader Read(BinaryReader reader, WordCount origin) { return(new ShapefileHeader() { BoundingBox = new BoundingBox <IPointZ>() { Min = BoxMin.Read(reader, origin), Max = BoxMax.Read(reader, origin) }, FileCode = FileCode.Read(reader, origin), FileLength = FileLength.Read(reader, origin), ShapeType = (ShapeType)ShapeType.Read(reader, origin), Version = Version.Read(reader, origin) }); }