tsc_Wgs84
This is a simple value type that contains a WGS84 coordinate as a latitude, longitude and height. There are three fields; the latitude and longitude are in radians (negative for south and west), and the height is in metres.
double Latitude;
double Longitude;
double Height;
A set of functions may be used to determine which values, if any, are present. Missing values are set to double_Null.
bool HasVertical();
bool HasHorizontal();
bool IsEmpty(); (Inherited from base class)
Resets the coordinate.
void SetEmpty ();
tsc_CoordType Type (); (Inherited from base class)
Returns the coordinate type, tsct_Wgs84.
Conversion from other coordinate types is possible when a valid coordinate system is loaded.
static tsc_Wgs84 FromGrid (const struct tsc_Grid& position, const class tsc_CoordinateSystem& transform);
static tsc_Wgs84 FromLocal(const struct tsc_Local& position, const class tsc_CoordinateSystem& transform);
Further conversions to an equivalent GNSS observation are possible with a valid tsc_GnssEnvironment:
(Note that the frame of reference for the ECEF is carried by the environment)
static tsc_Wgs84 FromEcef (const struct tsc_Ecef& position, const class tsc_GnssEnvironment& environment);
static tsc_Wgs84 FromEcefDeltas (const struct tsc_EcefDeltas& observation, const class tsc_GnssEnvironment& environment);
static tsc_Wgs84 FromTiltedEcef (const tsc_Ecef& position,
const tsc_GnssTilt& tilt,
const tsc_GnssEnvironment& environment);
Computes a tsc_Wgs84 from a tilted ECEF observation. This will produce a ground coordinate from a coordinate at the top of the tilted pole.
static tsc_Wgs84 FromTiltedEcefDeltas (const tsc_EcefDeltas& observation,
const tsc_GnssTilt& tilt,
const tsc_GnssEnvironment& environment);
Computes a tsc_Wgs84 from a tilted ECEF Deltas observation. This will produce a ground coordinate from a coordinate at the top of the tilted pole.