Пример #1
0
        static int eastWestPixelSpacingConstant(char zoneCode)
        {
            int index = RPFZone.indexFor(zoneCode) % 9;

            if (index < 0)
            {
                return(-1);
            }

            return(EAST_WEST_PIXEL_SPACING_CONSTANT[index]);
        }
Пример #2
0
        private static int nominalBoundary(char zoneCode, int[] boundaryArray)
        {
            int index = RPFZone.indexFor(zoneCode) % 9;

            if (index < 0)
            {
                return(-1);
            }

            if (!RPFZone.isZoneInUpperHemisphere(zoneCode))
            {
                return(0 - boundaryArray[index]);
            }
            return(boundaryArray[index]);
        }