tsc_Local

This is a simple value type that contains a coordinate as a latitude, longitude, and height.  Local coordinates are WGS84 positions that have been corrected for the local ellipsoid through the datum transformation.

There are three fields; latitude and longitude are expressed in radians (negative for south or 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_Local.

Conversion from other coordinate types is possible when a valid coordinate system is loaded.

static tsc_Local FromWgs84(const struct tsc_Wgs84& position, const class tsc_CoordinateSystem& transform);

static tsc_local FromGrid (const struct tsc_Grid& position,  const class tsc_CoordinateSystem& transform);