Mise à jour de Header authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -27,32 +27,27 @@ The header is the first object of a CZML file, it describes for example what kin ...@@ -27,32 +27,27 @@ The header is the first object of a CZML file, it describes for example what kin
# Properties # Properties
**id** - String : Identification of the header **stepSimulation** - double : The number of seconds between each step.
**version** - String : Version of Cesium to use, _default_ : "1.0" **version** - String : Version of Cesium to use, _default_ : "1.0"
**name** - String : Name of the header, describes what have been used to build it **MASTER_CLOCK** - [Clock](Clock) : The clock object used for the simulation, describes when the study will be done
**Clock** - [Clock](Clock) : The clock object, describes when the study will be done. **TIME_SCALE** - [TimeScale](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/time/TimeScale.html) : The time scale used for the simulation.
# Build # Build
A header can be build with : A header can be build with :
* An Id, a name, and a [Clock](Clock) : * A name, and a [Clock](Clock) :
```Java ```Java
Header header = new Header(name, clock); Header header = new Header(name, clock);
``` ```
* An id, a name, a version and a [Clock](Clock) : * A name, a version and a [Clock](Clock) :
```Java ```Java
Header header = new Header(id, name, version, clock); Header header = new Header(name, version, clock);
``` ```
# General values usable
**MASTER_CLOCK** - [Clock](Clock) : The clock object used for the simulation
**TIME_SCALE** - [TimeScale](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/time/TimeScale.html) : The time scale used for the simulation.