new Clock(options)
- Source:
Extension of the standard Clock provided by Cesium customised to deal with Terria-level abstractions like
CatalogItem
s.
Parameters:
Name | Type | Description |
---|---|---|
options |
see |
Methods
determineGap(date) → {TimeInterval}
- Source:
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 |
Returns:
The gap in the data that the passed date falls within, if one exists.
- Type
- TimeInterval
setCatalogItem(item)
- Source:
Set the CatalogItem
that this clock is currently tracking.
Parameters:
Name | Type | Description |
---|---|---|
item |
CatalogItem |