Shapefile.Shape.ParseBoundingBox C# (CSharp) Метод

ParseBoundingBox() защищенный Метод

Extracts a double precision rectangle (RectangleD) from a byte array - assumes that the called has validated that there is enough space in the byte array for four doubles (32 bytes)
protected ParseBoundingBox ( byte value, int startIndex, ProvidedOrder order ) : RectangleD
value byte byte array
startIndex int start index in the array
order ProvidedOrder byte order of the doubles to be extracted
Результат RectangleD
        protected RectangleD ParseBoundingBox(byte[] value, int startIndex, ProvidedOrder order)
        {
            return new RectangleD(EndianBitConverter.ToDouble(value, startIndex, order),
                EndianBitConverter.ToDouble(value, startIndex + 8, order),
                EndianBitConverter.ToDouble(value, startIndex + 16, order),
                EndianBitConverter.ToDouble(value, startIndex + 24, order));
        }