@staticmethod
def genGridGenerator(eastAlt, westAlt, minAz, stepAz, maxAz):
    """
        genGridGenerator generates the point values out of the given ranges of altitude
        and azimuth

        :param eastAlt:
        :param westAlt:
        :param minAz:
        :param stepAz:
        :param maxAz:
        :return:
        """
    for i, alt in enumerate(eastAlt):
        if i % 2:
            for az in range(minAz, 180, stepAz):
                yield alt, az
        else:
            for az in range(180 - minAz, 0, -stepAz):
                yield alt, az
    for i, alt in enumerate(westAlt):
        if i % 2:
            for az in range(180 + minAz, 360, stepAz):
                yield alt, az
        else:
            for az in range(maxAz, 180, -stepAz):
                yield alt, az
