src/globe/ElevationImage.js
function (sector, imageWidth, imageHeight) {
            if (!sector) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "ElevationImage", "constructor", "missingSector"));
            }

            /**
             * The sector spanned by this elevation image.
             * @type {Sector}
             * @readonly
             */
            this.sector = sector;

            /**
             * The number of longitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */
            this.imageWidth = imageWidth;

            /**
             * The number of latitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */
            this.imageHeight = imageHeight;

            /**
             * The size in bytes of this elevation image.
             * @type {number}
             * @readonly
             */
            this.size = this.imageWidth * this.imageHeight;

            /**
             * Internal use only
             * false if the entire image consists of NO_DATA values, true otherwise.
             * @ignore
             */
            this.hasData = true;

            /**
             * Internal use only
             * true if any pixel in the image has a NO_DATA value, false otherwise.
             * @ignore
             */
            this.hasMissingData = false;
        }
function (sector, imageWidth, imageHeight) {
            if (!sector) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "ElevationImage", "constructor", "missingSector"));
            }

            /**
             * The sector spanned by this elevation image.
             * @type {Sector}
             * @readonly
             */
            this.sector = sector;

            /**
             * The number of longitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */
            this.imageWidth = imageWidth;

            /**
             * The number of latitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */
            this.imageHeight = imageHeight;

            /**
             * The size in bytes of this elevation image.
             * @type {number}
             * @readonly
             */
            this.size = this.imageWidth * this.imageHeight;

            /**
             * Internal use only
             * false if the entire image consists of NO_DATA values, true otherwise.
             * @ignore
             */
            this.hasData = true;

            /**
             * Internal use only
             * true if any pixel in the image has a NO_DATA value, false otherwise.
             * @ignore
             */
            this.hasMissingData = false;
        }
function ( sector , imageWidth , imageHeight ) { if ( ! sector ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "ElevationImage" , "constructor" , "missingSector" ) ) ; } /**
             * The sector spanned by this elevation image.
             * @type {Sector}
             * @readonly
             */ this . sector = sector ; /**
             * The number of longitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */ this . imageWidth = imageWidth ; /**
             * The number of latitudinal sample points in this elevation image.
             * @type {Number}
             * @readonly
             */ this . imageHeight = imageHeight ; /**
             * The size in bytes of this elevation image.
             * @type {number}
             * @readonly
             */ this . size = this . imageWidth * this . imageHeight ; /**
             * Internal use only
             * false if the entire image consists of NO_DATA values, true otherwise.
             * @ignore
             */ this . hasData = true ; /**
             * Internal use only
             * true if any pixel in the image has a NO_DATA value, false otherwise.
             * @ignore
             */ this . hasMissingData = false ; }
Constructs an elevation image.
@alias ElevationImage
@constructor
@classdesc Holds elevation values for an elevation tile.
This class is typically not used directly by applications.
@param {Sector} sector The sector spanned by this elevation image.
@param {Number} imageWidth The number of longitudinal sample points in this elevation image.
@param {Number} imageHeight The number of latitudinal sample points in this elevation image.
@throws {ArgumentError} If the sector is null or undefined
Constructs an elevation image .