Mise à jour de VisibilityCone authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -6,7 +6,8 @@ This page describes the content of a CZML document. Please read [Get Started](ht ...@@ -6,7 +6,8 @@ This page describes the content of a CZML document. Please read [Get Started](ht
**Extends** : [AbstractPrimaryObject](AbstractPrimaryObject) **Extends** : [AbstractPrimaryObject](AbstractPrimaryObject)
**Example** : **Example** :
```json ```json
{ {
"id":"VIS/Toulouse Frame/Keplerian parameters: {a: 6928000.0; e: 0.0; i: 60.00000000000001; pa: 0.0; raan: 90.0; v: 90.0;}", "id":"VIS/Toulouse Frame/Keplerian parameters: {a: 6928000.0; e: 0.0; i: 60.00000000000001; pa: 0.0; raan: 90.0; v: 90.0;}",
...@@ -38,59 +39,74 @@ This page describes the content of a CZML document. Please read [Get Started](ht ...@@ -38,59 +39,74 @@ This page describes the content of a CZML document. Please read [Get Started](ht
# Parameters # Parameters
**id** - String : Identification of the visibility cone, *default* : "VIS/[Name of the station]/[Name of the satellite]. **id** - String : Identification of the visibility cone, _default_ : "VIS/\[Name of the station\]/\[Name of the satellite\].
**name** - String : Name of the visibility cone, _default_ : "Frame of the station \[name of the station\] looking at \[name of the satellite\].
**availability** - [TimeInterval](https://cesium.com/learn/cesiumjs/ref-doc/TimeInterval.html) : Time interval where the visibility cone is displayed.
## Intrinsic arguments
\*\*
**name** - String : Name of the visibility cone, *default* : "Frame of the station [name of the station] looking at [name of the satellite]. **TopocentricFrame** - [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html) : The Orekit TopocentricFrame Object
**Cylinder** - [Cylinder](Cylinder) : The cylinder object, that describes the geometric objects representing the visibility. **Cylinder** - [Cylinder](Cylinder) : The cylinder object, that describes the geometric objects representing the visibility.
**availability** - [TimeInterval](https://cesium.com/learn/cesiumjs/ref-doc/TimeInterval.html) : Time interval where the visibility cone is displayed. **satellite** - [Satellite](Satellite) : The satellite that will be in the visibility cone.
**position** - [Position](Position) : The position in a given frame of the visibility cone (usually on the ground station) **groundStation** - [CzmlGroundStation](CZMLGroundStation) : The ground station where the visibility cone will be attached to.
**angle of aperture** - Double : The angle of aperture of the station, *default* : 80.0° **angle of aperture** - Double : The angle of aperture of the station, _default_ : 80.0°
## Intrinsic arguments ## Other parameters
**TopocentricFrame** - [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html) : The Orekit TopocentricFrame Object **position** - [Position](Position) : The position in a given frame of the visibility cone (usually on the ground station)
# Build # Build
These arguments can be used to build a visibility cone object : These arguments can be used to build a visibility cone object :
* An id, a name, a cylinder, an availability : (**this visibility cone will have a fix height of a terrestrial radius**) * An id, a name, a cylinder, an availability : (**this visibility cone will have a fix height of a terrestrial radius**)
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(id, name, cylinder, avalability); new VisibilityCone visibilityCone = new VisibilityCone(id, name, cylinder, avalability);
``` ```
* An id, a name, a cylinder, an availability, a [Satellite](Satellite) : (**This constructor allows the visibility cone to reach only the given satellite, so the height is fixed to the altitude of the satellite**) * An id, a name, a cylinder, an availability, a [satellite](Satellite) : (**This constructor allows the visibility cone to reach only the given satellite, so the height is fixed to the altitude of the satellite**)
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(id, name, cylinder, avalabilityn satellite); new VisibilityCone visibilityCone = new VisibilityCone(id, name, cylinder, avalability, satellite);
``` ```
* A [CZMLGroundStation](CZMLGroundStation), a [Header](Header) : * A [CZMLGroundStation](CZMLGroundStation) :
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(groundStation, header); new VisibilityCone visibilityCone = new VisibilityCone(groundStation);
``` ```
* A [CZMLGroundStation](CZMLGroundStation), a [Header](Header), a [Satellite](Satellite) : * A [CZMLGroundStation](CZMLGroundStation), a [satellite](Satellite) :
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(groundStation, satellite, header); new VisibilityCone visibilityCone = new VisibilityCone(groundStation, satellite);
``` ```
* A [CZMLGroundStation](CZMLGroundStation), a [Header](Header) , an angle of aperture : * A [CZMLGroundStation](CZMLGroundStation), [satellite](Satellite), an angle of aperture :
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(groundStation, header, angleOfAperture); new VisibilityCone visibilityCone = new VisibilityCone(groundStation, satellite, angleOfAperture);
``` ```
* A [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [Satellite](Satellite), a [Header](Header) : * A [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [satellite](Satellite) :
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(topocentricFrame, satellite, header); new VisibilityCone visibilityCone = new VisibilityCone(topocentricFrame, satellite);
``` ```
* A [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [Satellite](Satellite), a [Header](Header), an angle of aperture : * A [TopocentricFrame](https://www.orekit.org/site-orekit-development/apidocs/org/orekit/frames/TopocentricFrame.html), a [satellite](Satellite), an angle of aperture :
```Java ```Java
new VisibilityCone visibilityCone = new VisibilityCone(topocentricFrame, satellite, header, angleOfAperture); new VisibilityCone visibilityCone = new VisibilityCone(topocentricFrame, satellite, angleOfAperture);
``` ```
# Functions # Functions
... ...
......