| CVVUOffsetCorrectXYZ Method |
Correct locations based on heading and fixed offset.
Available since Oasis montaj version: 9.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
In many applications, measurements are taken with an instrument which
is towed behind, or pushed ahead of where the locations are recorded.
Use this function to estimate the actual location of the instrument.
The method determines the heading along the line, using a "thinned"
version of the line. The default degree of thinning is based on the size of the
offset; the larger the offset, the greater the distance between sample
locations used to construct the thinned lined used for determining headings.
The thinned line is splined at a frequency greater than the sample
frequency, and the heading at any given point is determined from the
vector formed by the closest two points on the splined line. The
correction (behind, in front, left or right) is determined with respect
to the heading, and added to the original location.
IF this method fails, no dummies, no duplicated locations, no reversals
are produced.
The algorithm:
1. Determine average distance between each point = D
2. Default smoothing interval = MAX(2*D, Offset distance) = I
3. Thin input points to be at least the smoothing interval I apart from each other.
4. Smoothly re-interpolate the thinned points at five times the
original average distance D.
5. For each input point, calculate the bearing using the nearest points
on the smoothed curve
Syntax public static void OffsetCorrectXYZ(
CVV oVV1,
CVV oVV2,
CVV oVV3,
double d4,
double d5,
double d6,
double d7,
CVV oVV8,
CVV oVV9,
CVV oVV10
)
Public Shared Sub OffsetCorrectXYZ (
oVV1 As CVV,
oVV2 As CVV,
oVV3 As CVV,
d4 As Double,
d5 As Double,
d6 As Double,
d7 As Double,
oVV8 As CVV,
oVV9 As CVV,
oVV10 As CVV
)
public:
static void OffsetCorrectXYZ(
CVV^ oVV1,
CVV^ oVV2,
CVV^ oVV3,
double d4,
double d5,
double d6,
double d7,
CVV^ oVV8,
CVV^ oVV9,
CVV^ oVV10
)
static member OffsetCorrectXYZ :
oVV1 : CVV *
oVV2 : CVV *
oVV3 : CVV *
d4 : float *
d5 : float *
d6 : float *
d7 : float *
oVV8 : CVV *
oVV9 : CVV *
oVV10 : CVV -> unit
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
Input X - oVV2
- Type: GeoEngine.Core.GXNetCVV
Input Y - oVV3
- Type: GeoEngine.Core.GXNetCVV
Input Z - d4
- Type: SystemDouble
Offset along-track (+ve forward) - d5
- Type: SystemDouble
Offset across-track (+ve to the right) - d6
- Type: SystemDouble
Vertical Offset (+ve up) - d7
- Type: SystemDouble
Sampling interval - rDUMMY for default - oVV8
- Type: GeoEngine.Core.GXNetCVV
Output X - oVV9
- Type: GeoEngine.Core.GXNetCVV
Output Y - oVV10
- Type: GeoEngine.Core.GXNetCVV
Output Z
See Also