Click or drag to resize
CGUGeometricsQC Method
Correct reading positions in a database.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
There are six cases to consider: ======== ==== ============= ======================================== Case Flag Solutions Symptoms ======== ==== ============= ======================================== CASE 1A: 0 No correction Recorded and actual Line lengths same Reading densities vary slightly (passed the tolerance test) -------- ---- ------------- ---------------------------------------- CASE 1B -1 No correction Line lengths same Reading densities vary and cannot pass the tolerance test -------- ---- ------------- ---------------------------------------- CASE 2A 1 Corrected by Recorded line length too short extension Possible high readings in segment(s) Corrected (by extending) and actual lengths become the same -------- ---- ------------- ---------------------------------------- CASE 2B 2 Corrected by Recorded line length too short interpolation Possible high readings in segment(s) Corrected (by extending) and actual lengths are not same. Interpolation is then applied -------- ---- ------------- ---------------------------------------- CASE 3A 1 Corrected by Recorded line length too long shifting or Possible low readings in segment(s) (shrank) Corrected (by shifting) and actual lengths are same -------- ---- ------------- ---------------------------------------- CASE 3B 2 Corrected by Recorded line length too long interpolation Possible low readings in segment(s) Corrected (by shifting) and actual lengths are not same. Interpolation is then applied ======== ==== ============= ======================================== TERMINOLOGY: Segments A segment refers to the distance and its contents between two adjacent fiducial markers Normal Density The density (number of readings) shared by the segments in a survey line. The number of segments with the density is greater than the number of segments having a different density in a line. Tolerance and Bound: Tolerance is defined as a percentage, say 50% (=0.5). Based on the tolerance, a lower bound and upper bound can be defined: :: Lower bound = (Normal Density) - (Normal Density)*Tolerance Upper bound = (Normal Density) - (Normal Density)*Tolerance Segments will pass the tolerance test if the number of readings falls within the Lower and Upper Bounds.
Syntax
public static void GeometricsQC(
	CGXNETCore gxNetShared,
	CWA wa,
	string line,
	CVV in_vv,
	double tol,
	double min_coord,
	double max_coord,
	CVV out_vv,
	CVV flag_vv
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
wa
Type: GeoEngine.Core.GXNetXCWA
Output error log file
line
Type: SystemString
Database line number. For output to log file only
in_vv
Type: GeoEngine.Core.GXNetXCVV
Input VV, <define>GS_DOUBLE</define>
tol
Type: SystemDouble
Tolerance defined as percentage, say 50.0 means 50%. Must be >=0.0 Lower bound = (Normal Density) - (Normal Density)*Tolerance Upper bound = (Normal Density) + (Normal Density)*Tolerance
min_coord
Type: SystemDouble
Minimum coordinate (X or Y)
max_coord
Type: SystemDouble
Maximum coordinate (X or Y)
out_vv
Type: GeoEngine.Core.GXNetXCVV
Output VV, <define>GS_DOUBLE</define>
flag_vv
Type: GeoEngine.Core.GXNetXCVV
Output Flag VV, <define>GS_LONG</define>
See Also