 | CVVUOffsetCorrectXYZ Method |
Correct locations based on heading and fixed offset.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void OffsetCorrectXYZ(
CVV vv_xi,
CVV vv_yi,
CVV vv_zi,
double x_off,
double y_off,
double z_off,
double interval,
CVV v_vxo,
CVV v_vyo,
CVV v_vzo
)
public static void OffsetCorrectXYZ(
CVV vv_xi,
CVV vv_yi,
CVV vv_zi,
double x_off,
double y_off,
double z_off,
double interval,
CVV v_vxo,
CVV v_vyo,
CVV v_vzo
)
Public Shared Sub OffsetCorrectXYZ (
vv_xi As CVV,
vv_yi As CVV,
vv_zi As CVV,
x_off As Double,
y_off As Double,
z_off As Double,
interval As Double,
v_vxo As CVV,
v_vyo As CVV,
v_vzo As CVV
)
Public Shared Sub OffsetCorrectXYZ (
vv_xi As CVV,
vv_yi As CVV,
vv_zi As CVV,
x_off As Double,
y_off As Double,
z_off As Double,
interval As Double,
v_vxo As CVV,
v_vyo As CVV,
v_vzo As CVV
)
public:
static void OffsetCorrectXYZ(
CVV^ vv_xi,
CVV^ vv_yi,
CVV^ vv_zi,
double x_off,
double y_off,
double z_off,
double interval,
CVV^ v_vxo,
CVV^ v_vyo,
CVV^ v_vzo
)
public:
static void OffsetCorrectXYZ(
CVV^ vv_xi,
CVV^ vv_yi,
CVV^ vv_zi,
double x_off,
double y_off,
double z_off,
double interval,
CVV^ v_vxo,
CVV^ v_vyo,
CVV^ v_vzo
)
static member OffsetCorrectXYZ :
vv_xi : CVV *
vv_yi : CVV *
vv_zi : CVV *
x_off : float *
y_off : float *
z_off : float *
interval : float *
v_vxo : CVV *
v_vyo : CVV *
v_vzo : CVV -> unit
static member OffsetCorrectXYZ :
vv_xi : CVV *
vv_yi : CVV *
vv_zi : CVV *
x_off : float *
y_off : float *
z_off : float *
interval : float *
v_vxo : CVV *
v_vyo : CVV *
v_vzo : CVV -> unit
Parameters
- vv_xi
- Type: GeoEngine.Core.GXNetCVV
Input X - vv_yi
- Type: GeoEngine.Core.GXNetCVV
Input Y - vv_zi
- Type: GeoEngine.Core.GXNetCVV
Input Z - x_off
- Type: SystemDouble
Offset along-track (+ve forward) - y_off
- Type: SystemDouble
Offset across-track (+ve to the right) - z_off
- Type: SystemDouble
Vertical Offset (+ve up) - interval
- Type: SystemDouble
Sampling interval - <define>rDUMMY</define> for default - v_vxo
- Type: GeoEngine.Core.GXNetCVV
Output X - v_vyo
- Type: GeoEngine.Core.GXNetCVV
Output Y - v_vzo
- Type: GeoEngine.Core.GXNetCVV
Output Z
Remarks
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
See Also