 | CVVUInterp Method |
Replace all dummies by interpolating from valid data.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void Interp(
CVV vv,
int input,
int output
)
public static void Interp(
CVV vv,
int input,
int output
)
Public Shared Sub Interp (
vv As CVV,
input As Integer,
output As Integer
)
Public Shared Sub Interp (
vv As CVV,
input As Integer,
output As Integer
)
public:
static void Interp(
CVV^ vv,
int input,
int output
)
public:
static void Interp(
CVV^ vv,
int input,
int output
)
static member Interp :
vv : CVV *
input : int *
output : int -> unit
static member Interp :
vv : CVV *
input : int *
output : int -> unit
Parameters
- vv
- Type: GeoEngine.Core.GXNetCVV
Input VV - input
- Type: SystemInt32
<define>VVU_INTERP</define> - output
- Type: SystemInt32
<define>VVU_INTERP_EDGE</define>
Remarks
Edge behaviour
Dummies at the ends are treated as follows
for various combinations of the inside and outside interpolation
choices:
::
if ((iOutside==VV_INTERP_EDGE_NEAREST) ||
(iOutside==VV_INTERP_EDGE_SAME && iInside==VV_INTERP_NEAREST))
// -- Set dummies to the same value as the last defined element
else if ((iOutside==VV_INTERP_EDGE_LINEAR) ||
(iOutside==VV_INTERP_EDGE_SAME && iInside==VV_INTERP_LINEAR))
// --- Set dummies using the slope of the last two defined elements
endif
In all other cases and combinations of the two interpolation
choices, the dummies are left "as is".
See Also