tsc_GridDeltas

This is a simple value type that contains a grid delta coordinate.  A grid delta coordinate contains the arithmetic difference between two grid coordinates. There are three fields, all values are in SI units (metres):

double DeltaNorth;

double DeltaEast;

double DeltaElevation;

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();

Resets the coordinate.

void SetEmpty ();

The vector magnitude of the horizontal components.

double GroundDistance() const;

The vector magnitude of the components.

double SlopeDistance() const;

There is a function available for calculating a tsc_GridDelta object from two tsc_Grid objects.

static tsc_GridDeltas CalcDeltas(tsc_Grid& position, tsc_Grid& origin);