Exemple #1
0
        private static void DiscardBottomHalf(IESData iesData)
        {
            int num  = 0;
            int num2 = 0;

            while (num2 < iesData.VerticalAngles.Count && iesData.VerticalAngles[num2] != 90f)
            {
                num++;
                num2++;
            }
            ParseIES.DiscardHalf(iesData, 0, num);
        }
Exemple #2
0
        private static void DiscardTopHalf(IESData iesData)
        {
            int num = 0;

            for (int i = 0; i < iesData.VerticalAngles.Count; i++)
            {
                if (iesData.VerticalAngles[i] == 90f)
                {
                    num = i + 1;
                    break;
                }
            }
            int range = iesData.VerticalAngles.Count - num;

            ParseIES.DiscardHalf(iesData, num, range);
        }