Mise à jour de Header authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -23,35 +23,28 @@ The header is the first object of a CZML file, it describes for example what kin ...@@ -23,35 +23,28 @@ The header is the first object of a CZML file, it describes for example what kin
} }
``` ```
# Properties # Properties
**id** - String : Identification of the header **id** - String : Identification of the header
**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 **name** - String : Name of the header, describes what have been used to build it
**Clock** - [Clock](Clock) : The clock object, describes when the study will be done. **Clock** - [Clock](Clock) : The clock object, describes when the study will be done.
# Build # Build
A header can be build with : A header can be build with :
* An Id, a name, and a [Clock](Clock) : * An Id, a name, and a [Clock](Clock) :
```Java ```Java
Header header = new Header(id, name, clock); Header header = new Header(name, clock);
``` ```
* An id, a name, a version and a [Clock](Clock) : * An id, a name, a version and a [Clock](Clock) :
```Java ```Java
Header header = new Header(id, name, version, clock); Header header = new Header(id, name, version, clock);
```
* A [Propagator](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/propagation/Propagator.html) (from Orekit) and an [AbsoluteDate](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/time/AbsoluteDate.html) (from Orekit) that represents the final date of the simulation.
```Java
Header header = new Header(propagator, finalDate);
``` ```
\ No newline at end of file