| CVAiCheckForRepeating2 Method |
Window a VA to a VV based on fractional frame
Available since Oasis montaj version: 8.2.0
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Returns 1 if all rows contain values which match the input values.
Optionally, row values can be offset by amounts specified with a secondary VV.
This function was designed to detect "depth" array channels, including those which might
have been offset with topography on each row.
An absolute tolerance can be specified to ignore numerical noise.
This version returns the row and column index of first mismatch.
Syntax public int iCheckForRepeating2(
CVV oVV1,
int i2,
CVV oVV3,
double d4,
ref int i5,
ref int i6
)
Public Function iCheckForRepeating2 (
oVV1 As CVV,
i2 As Integer,
oVV3 As CVV,
d4 As Double,
ByRef i5 As Integer,
ByRef i6 As Integer
) As Integer
public:
int iCheckForRepeating2(
CVV^ oVV1,
int i2,
CVV^ oVV3,
double d4,
int% i5,
int% i6
)
member iCheckForRepeating2 :
oVV1 : CVV *
i2 : int *
oVV3 : CVV *
d4 : float *
i5 : int byref *
i6 : int byref -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
Items to test for repeats (length equal to the number of columns in the VA) - i2
- Type: SystemInt32
If set to 1, subtract single values in the following VV from every array row item before testing (e.g. an elevation value) - oVV3
- Type: GeoEngine.Core.GXNetCVV
values to subtract from each row before doing the comparison test (length equal to the length of the VA). Can be VV_NULL (-1) if above subtraction parameter is zero - d4
- Type: SystemDouble
comparison tolerance - set to zero or dummy for exact match - i5
- Type: SystemInt32
row index of first mismatch - i6
- Type: SystemInt32
column index of first mismatch
Return Value
Type:
Int321 if rows repeat, 0 if not.
See Also