Mise à jour de CZMLGroundStation authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -3,6 +3,7 @@ This page describes the content of a CZML document. Please read [Get Started](ht ...@@ -3,6 +3,7 @@ This page describes the content of a CZML document. Please read [Get Started](ht
**Implements** : [CZMLPrimaryObject](CZMLPrimaryObject) **Implements** : [CZMLPrimaryObject](CZMLPrimaryObject)
**Example** : **Example** :
```json ```json
{ {
"id":"Toulouse Frame", "id":"Toulouse Frame",
...@@ -48,7 +49,7 @@ This page describes the content of a CZML document. Please read [Get Started](ht ...@@ -48,7 +49,7 @@ This page describes the content of a CZML document. Please read [Get Started](ht
**availability** - [TimeInterval](https://cesium.com/learn/cesiumjs/ref-doc/TimeInterval.html) : Time interval where the CZML ground station is displayed. **availability** - [TimeInterval](https://cesium.com/learn/cesiumjs/ref-doc/TimeInterval.html) : Time interval where the CZML ground station is displayed.
**description** - String : An optional description of the satellite, *default* : "Nameless ground station". **description** - String : An optional description of the satellite, _default_ : "Nameless ground station".
**billboard** - [Billboard]() : A 2D object that allows to display a given image to represents the ground station. _default_ : A 2D image representing a ground station will be used. **billboard** - [Billboard]() : A 2D object that allows to display a given image to represents the ground station. _default_ : A 2D image representing a ground station will be used.
...@@ -69,22 +70,19 @@ These arguments can be used to build a CZML ground station object : ...@@ -69,22 +70,19 @@ These arguments can be used to build a CZML ground station object :
The CZML ground stration object can be build with : The CZML ground stration object can be build with :
* A name, an id, an availability, a description, a position, a billboard : * A name, an id, an availability, a description, a position, a billboard :
```Java ```Java
CZMLGroundStation groundStation = new CZMLGroundStation(name, id, availability, position, billboard); CZMLGroundStation groundStation = new CZMLGroundStation(name, id, availability, position, billboard);
``` ```
* An [Orekit groundStation](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/estimation/measurements/GroundStation.html), a [Header](Header) : * An [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [Header](Header) :
```Java
CZMLGroundStation groundStation = new CZMLGroundStation(groundStation, header);
```
* An [Orekit TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [Header](Header) :
```Java ```Java
CZMLGroundStation groundStation = new CZMLGroundStation(topocentricFrame, header); CZMLGroundStation groundStation = new CZMLGroundStation(topocentricFrame, header);
``` ```
* A List<[TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html)>, a [Header](Header) : * A [List of TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html)\>, a [Header](Header) : (**This function can create several groundStation, with each topocentricFrame assigned to each station**)
(**This function can create several groundStation, with each topocentricFrame assigned to each station**)
```Java ```Java
CZMLGroundStation groundStation = new CZMLGroundStation(topocentricFrameList, header); CZMLGroundStation groundStation = new CZMLGroundStation(topocentricFrameList, header);
``` ```
\ No newline at end of file