Declared in GroundObject
Declaration
void SetLocation(
double latitude,
double longitude,
double altitude,
string planet
);
Description
Updates the location of the ground body relative to the planet. If the location needs to be changed during the runtime, this function should be called and not the updating of the fields.
Parameters
Name | Description |
---|---|
latitude | [deg] Latitude of the body |
longitude | [deg] Longitude of the body |
altitude | [m] Altitude of the body |
planet | [-] The name of the stationed body |