Class: Clock

Clock(options)

new Clock(options)

Extension of the standard Clock provided by Cesium customised to deal with Terria-level abstractions like CatalogItems.

Parameters:
Name Type Description
options

see terriajs-cesium/Source/Core/Clock

Source:

Methods

determineGap(date) → {TimeInterval}

Determines whether the passed JulianDate occurs within a gap in the currently tracked CatalogItem's data. If so returns that gap as a TimeInterval, otherwise undefined.

Parameters:
Name Type Description
date JulianDate
Source:
Returns:

The gap in the data that the passed date falls within, if one exists.

Type
TimeInterval

setCatalogItem(item)

Set the CatalogItem that this clock is currently tracking.

Parameters:
Name Type Description
item CatalogItem
Source: