tsc_CogoEnvironment

A tsc_CogoEnvironment is a class which holds the context information needed to perform coordinate geometry calculations.  These calculations compute information and relationships between existing points and can generate new coordinates as well.

Constructors

tsc_CogoEnvironment ();

Create a default (and quite limited) environment.

tsc_CogoEnvironment (const tsc_Job& fromJob);

Create an environment which matches that of the job.

tsc_CogoEnvironment (const tsc_Entity& fromEntity);

Create an environment that matches that for an entity (this will often be the current environment for a job since many entities do not keep individual details).

Members

tsc_Job Job();

Used to reference source data that come from the database such as points.

tsc_CoordinateSystem CoordinateSystem;

Contains a coordinate system that allows coordinate transformation to other coordinate frameworks (e.g. Grid, Local Ellipsoid & WGS84 Ellipsoid).  It will also contain information about conventions such as ground distance and coordinate orientation.

tsc_CogoSettings CogoSettings;

User adjustable options which affect the framework and result type that the operation should operate in.  For example should the distance be calculated to a distant point on the grid or on the local ellipsoid and should the value returned be adjusted to our elevation or height as seen at the ellipsoid surface?  Some cogo functions do not use this as they are locked into the job settings.