Click or drag to resize
CVVSetupIndex Method
Setup an index VV from VV1 to VV2.

Available since Oasis montaj version: 5.0.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The input reference VV must be in ascending numerical order. If your reference data is NOT ordered, then use the the SortIndex1_VV function to create an order index, then sort both the reference and data VVs using this index VV before you call SetupIndex_VV. Example: You have a reference data set taken at specific times, hVVt, hVVy and you want to calculate/estimate/interpolate the values hVVy2 at a second set of times hVVt2 Step 1: Create an index, hVVi, type GS_DOUBLE, and call SetupIndex_VV. e.g. : SetupIndex_VV(hVVt, hVVt2, hVVi, VV_LOOKUP_XXX, rSpacing); Internally, this assigns index values of 0.0, 1.0, 2.0 etc. to the individual values in hVVt, then, depending on the lookup method chosen, assigns fractional index values to the input values in hVVt2. Step 2: To determine what the lookup values hVVy2 should be at times hVVt2, call the sLookupIndex_VV function: e.g. : LookupIndex_VV(hVVy, hVVi, hVVy2); Internally, this assigns index values of 0.0, 1.0, 2.0 etc. to the individual values in hVVy, and uses linear interpolation to calculate the values of hVVy2 at the input indices contained in hVVi.
Syntax
public void SetupIndex(
	CVV oVV1,
	CVV oVV2,
	int i3,
	double d4
)

Parameters

oVV1
Type: GeoEngine.Core.GXNetCVV
Query VV (same type as Data VV)
oVV2
Type: GeoEngine.Core.GXNetCVV
VV index VV of type REAL
i3
Type: SystemInt32
See VV_LOOKUPConstant
d4
Type: SystemDouble
Spacing for some modes
See Also