Header - Zudokakikuto/OreCZML GitHub Wiki
This page describes the content of a CZML document. Please read Get started for an explanation of how a CZML document is put together.
HEADER
The header is the first object of a CZML file, it describes for example what kind of time interval in global will be used to display, or even how time will be interpolated during the simulation.
Implements : CZMLPrimaryObject
Extends : AbstractPrimaryObject
Example :
{
"id":"document",
"version":"1.0",
"name":"org.orekit.propagation.numerical.NumericalPropagator@ed9d034",
"clock":{
"interval":"2022-01-17T12:00:00Z/2022-01-18T12:00:00Z",
"currentTime":"2022-01-17T12:00:00Z",
"multiplier":60,
"range":"LOOP_STOP",
"step":"SYSTEM_CLOCK_MULTIPLIER"
}
}
Properties
id - String : Identification of the header
version - String : Version of Cesium to use, default : "1.0"
name - String : Name of the header, describes what have been used to build it
Clock - Clock : The clock object, describes when the study will be done.
Build
A header can be build with :
- An Id, a name, and a Clock :
Header header = new Header(name, clock);
- An id, a name, a version and a Clock :
Header header = new Header(id, name, version, clock);
General values usable
MASTER_CLOCK - Clock : The clock object used for the simulation
TIME_SCALE - TimeScale : The time scale used for the simulation.