Class GeodeticElements
- Namespace
- NominalSystems.Universe
- Assembly
- NominalSystems.Universe.dll
This structure contains the set of Geographic elements that exist around a particular body.
public class GeodeticElements
- Inheritance
-
GeodeticElements
Constructors
GeodeticElements()
Base constructor that sets up the class. This does not initialise any variables and keeps them as default.
public GeodeticElements()
GeodeticElements(Vector3)
Defines a constructor that takes in the coordinates from a vector form.
public GeodeticElements(Vector3 values)
Parameters
values
Vector3The list of values as lat, lon, alt
GeodeticElements(double, double, double)
Constructor that sets up the georgraphical elements with a series of parameters.
public GeodeticElements(double latitude, double longitude, double altitude)
Parameters
latitude
double[deg] The latitude about the body
longitude
double[deg] The longitude about the body
altitude
double[m] The distance above the surface of the body
Fields
Altitude
[m] The distance above the surface of the body
public double Altitude
Field Value
Latitude
[deg] The latitude about the body
public double Latitude
Field Value
Longitude
[deg] The longitude about the body
public double Longitude
Field Value
Methods
ToString()
public override string ToString()
Returns
Operators
implicit operator Vector3(GeodeticElements)
Converts a Geodetic Elements structure into a Vector3
public static implicit operator Vector3(GeodeticElements elems)
Parameters
elems
GeodeticElementsThe Geodetic Elements to convert