| CVVIndexInsert Method |
Insert items into a VV using an index VV.
Available since Oasis montaj version: 6.2.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
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.
Syntax public void IndexInsert(
CVV oVV1,
CVV oVV2
)
Public Sub IndexInsert (
oVV1 As CVV,
oVV2 As CVV
)
public:
void IndexInsert(
CVV^ oVV1,
CVV^ oVV2
)
member IndexInsert :
oVV1 : CVV *
oVV2 : CVV -> unit
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
Data items to insert (must be same type as output data VV) - oVV2
- Type: GeoEngine.Core.GXNetCVV
Index VV (must be type INT)
See Also