 | CVVIndexInsert Method |
Insert items into a VV using an index VV.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void IndexInsert(
CVV vv_d,
CVV vv_i
)
public void IndexInsert(
CVV vv_d,
CVV vv_i
)
Public Sub IndexInsert (
vv_d As CVV,
vv_i As CVV
)
Public Sub IndexInsert (
vv_d As CVV,
vv_i As CVV
)
public:
void IndexInsert(
CVV^ vv_d,
CVV^ vv_i
)
public:
void IndexInsert(
CVV^ vv_d,
CVV^ vv_i
)
member IndexInsert :
vv_d : CVV *
vv_i : CVV -> unit
member IndexInsert :
vv_d : CVV *
vv_i : CVV -> unit
Parameters
- vv_d
- Type: GeoEngine.Core.GXNetXCVV
Data items to insert (must be same type as output data VV) - vv_i
- Type: GeoEngine.Core.GXNetXCVV
Index VV (must be type INT)
Remarks
The items in the input data VV are inserted into
the output VV using the indices in the index VV.
Values not referenced are not altered, so the output
VV should be pre-initialized. The output VV length
will NOT be changed, and index values referencing
beyond the end of the output VV data will return an
error.
This function is useful when working with channel data that include
dummies, but where the dummies must be removed before processing.
Create and initialize an index (0, 1, 2...) VV, using the InitIndex_VV
function, and when you remove
the dummies, remove the corresponding index values as well.
After processing, init a VV to dummies, then use IndexInsert_VV to
put the processed values at the correct locations in the data VV
before you write it back to the channel.
See Also