Copyright 2008 by gINT Software. All rights reserved worldwide.
GR019.TXT

gINT Rules Code Samples - 019

Requires gINT version 8.2 or later. gINT Logs cannot run gINT Rules but can access the code or the Add-Ins manager. gINT Logs Plus and gINT Professional have full access to both.

NOTE:  Code samples are provided free of charge and as-is.  gINT Software makes no claim or warranty as to the accuracy of the samples.  It is the responsibility of the user to ensure that the code performs as it should.  Comments, suggestions, and error reports are appreciated.

Description
===========
Illustrates the use of the AlignmentCoorFromStaOff and AlignmentStaOffFromCoor gINT Rules methods. These calculate north and east from station and offset and station and offset from north and east, respectively, given an alignment. In the sample project, delete all the stations and offsets and save. They will be recalculated. Now delete all the north and east values where there are stations and offsets and save. They will be recalculated from the stations and offsets. Where both north/east and station/offset exist, the program uses the option specified in the Coordinate Conversion Order field in the PROJECT table to determine which takes precedence. You can see the alignments and the boreholes in the Site Map application.

Revision History
================
10Sep2008:
Initial public upload
*************************************************

INCLUDED FILES:
GR019.GLB:
  gINT Rules code modules:
    GR019:  Main
            NorthEastStationOffset
            PointSave
    GR019 COMMON PROCEDURES: InitFieldsFnB
                             RecordsetClose

  Library Tables: GR019 COORDINATE CONVERSION ORDER
*************************************************

INSTALLATION PROCEDURE:
Copy the files wherever you wish.  To see the gINT Rules Add-In and code module you must either merge the GLB into your library (Utilities:Lib Merge/Copy) or change to the included library (File:Change Library).
*************************************************

SPECIAL NOTES:
See the DESCRIPTION section above for detailed usage instructions.
*************************************************