Sha256: 7305f5db54c00b1db3ebdcc0d95a3c320778ef70898b91159283d6422e9bfab7

Contents?: true

Size: 730 Bytes

Versions: 9

Compression:

Stored size: 730 Bytes

Contents

/*global define*/
define(['Core/defaultValue'], function(defaultValue) {
    "use strict";

    /**
     * Represents the closed interval [start, stop].
     * @alias Interval
     * @constructor
     *
     * @param {Number} [start=0.0] The beginning of the interval.
     * @param {Number} [stop=0.0] The end of the interval.
     */
    var Interval = function(start, stop) {
        /**
         * The beginning of the interval.
         * @type {Number}
         * @default 0.0
         */
        this.start = defaultValue(start, 0.0);
        /**
         * The end of the interval.
         * @type {Number}
         * @default 0.0
         */
        this.stop = defaultValue(stop, 0.0);
    };

    return Interval;
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cesium-0.25.0 app/assets/javascripts/Core/Interval.js
cesium-0.24.1 app/assets/javascripts/Core/Interval.js
cesium-0.24.0 app/assets/javascripts/Core/Interval.js
cesium-0.23.0 app/assets/javascripts/Core/Interval.js
cesium-0.22.0 app/assets/javascripts/Core/Interval.js
cesium-0.21.1 app/assets/javascripts/Core/Interval.js
cesium-0.21 app/assets/javascripts/Core/Interval.js
cesium-0.20.0 app/assets/javascripts/Core/Interval.js
cesium-0.19.0 app/assets/javascripts/Core/Interval.js