Mise à jour de SatteliteReferenceSystem authored by Julien LEBLOND's avatar Julien LEBLOND
This page describes the content of a CZML document. Please read [Get Started](Get-Started) for an explanation of how a CZML document is put together.
# Satellite Reference System
**Implements** : [CzmlPrimaryObject](CZMLPrimaryObjects)
**Extends** : [AbstractPrimaryObject](AbstractPrimaryObject)
**Example** :
```json
{
"id":"REFERENCE SYSTEM/Keplerian parameters: {a: 7878000.0; e: 0.0; i: 20.0; pa: 0.0; raan: 0.0; v: 0.0;}",
"name":"Reference system of : Satellite",
"availability":"2024-03-15T00:00:00Z/2024-03-15T10:00:00Z",
"position":{
"reference":"Keplerian parameters: {a: 7878000.0; e: 0.0; i: 20.0; pa: 0.0; raan: 0.0; v: 0.0;}#position"
},
"orientation":{
"reference":"Keplerian parameters: {a: 7878000.0; e: 0.0; i: 20.0; pa: 0.0; raan: 0.0; v: 0.0;}#orientation"
},
"model":{
"gltf":"./referenceSystem.glb",
"scale":0.02,
"maximumScale":1000000,
"minimumPixelSize":200,
"incrementallyLoadTextures":true,
"show":true
}
}
```
# Properties
**id** - String : Identification of the Satellite Reference System, _default_ : "REFERENCE SYSTEM/{id of the satellite}".
**name** - String : Name of the Satellite Reference System, _default_ : "Reference system of : {name of the satellite}".
**availability** - [TimeInterval](https://cesium.com/learn/cesiumjs/ref-doc/TimeInterval.html) : Time interval when the Satellite Reference System is displayed, _default_ : the time interval of definition of the satellite.
## Intrinsinc arguments
These arguments can be used to build the Satellite Reference System object :
**satellite** - [Satellite](Satellite) : The satellite of the reference system.
**scale** - double : The scale to which the model (if it exists) must be, _default_ : 0.02;
**maximumScale** - double : The maximum scale up to which the scale can go, _default_ : 1000000.
**minimumPixelSize** - double : The minimum of pixels displayed on screen, _default_ : 200.
## Other parameters
**referencePosition** - [Reference](https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/ReferenceValue) : The reference in position of the satellite to lock the reference system in the center of the satellite.
**referenceOrientation** - [Reference](https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/ReferenceValue) : The reference in orientation of the satellite, to have the reference system with the same orientation as the satellite.
**referenceSystemModel** - [CzmlModel](CzmlModel) : The 3D model that represents the reference system.
# Build
These arguments can be used to build the abstract point on body object :
* A [satellite](Satellite) :
```java
SatelliteReferenceSystem system = new SatelliteReferenceSystem(satellite);
```
* A [satellite](Satellite), a scale, a maximumScale, a minimumPixelSize :
```java
SatelliteReferenceSystem system = new SatelliteReferenceSystem(satellite, scale, maximumScale, minimumPixelSize);
```
\ No newline at end of file