cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
35 lines (32 loc) • 593 B
JavaScript
/**
* Constants to determine how an interpolated value is extrapolated
* when querying outside the bounds of available data.
*
* @enum {Number}
*
* @see SampledProperty
*/
var ExtrapolationType = {
/**
* No extrapolation occurs.
*
* @type {Number}
* @constant
*/
NONE: 0,
/**
* The first or last value is used when outside the range of sample data.
*
* @type {Number}
* @constant
*/
HOLD: 1,
/**
* The value is extrapolated.
*
* @type {Number}
* @constant
*/
EXTRAPOLATE: 2,
};
export default Object.freeze(ExtrapolationType);