Пример #1
0
        public static VirtualRasterHeader Create(CoordPoint leftBottom, int width, int height, float resolutionX, float resolutionY)
        {
            VirtualRasterHeader vr = new VirtualRasterHeader();

            vr.Width         = width;
            vr.Height        = height;
            vr.ResolutionX   = resolutionX;
            vr.ResolutionY   = resolutionY;
            vr.CoordEnvelope = CoordEnvelope.FromLBWH(leftBottom.X, leftBottom.Y, resolutionX * width, resolutionY * height);
            return(vr);
        }