tsc_Target

This class represents target information as stored in the database.  The class is read-only.  For configuring and selecting targets, see the tsc_TsModes class.

The target may have been generated from the current target settings or from a database record.

Public methods

bool IsCurrentTarget();
This method returns true if the instance represents the currently configured target in the current Survey Core job.

bool Exists();
Returns true if this target is a valid instance retrieved from a database.

tsc_String Name();
Return the name (if any) of the target.

tsc_String PrismTypeString ();
Returns the prism type described in a string.

tsc_TsTargetPrismType PrismType ();
Returns the prism type.

double PrismConstant ();
The prism constant in metres.

double CorrectedHeight ();
The corrected height of the target in meters.  This is the true vertical height and is the one that should be used for calculations.

double MeasuredHeight () const;
Measured height of the target above the point in meters.  This is the height measured by the user and can be shown for display purposes.  It should not be used for calculations.

x_Code HeightMeasurementMethod () const;
The method of height measurement used.  This will describe the method used to measure the height (typically it describes the geometry of the measurement), e.g. X_TrueVertical.

int RemoteId ();
The target's remote identifier, or -1 if not available.

enum tsc_TargetIdCheckMode IdCheckMode ();
The target's Id check behaviour mode.