 | CVAiCheckForRepeating2 Method |
Window a VA to a VV based on fractional frame
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iCheckForRepeating2(
CVV vv_t,
int subtract_vv,
CVV vv_sub,
double tol,
ref int bad_row,
ref int bad_col
)
public int iCheckForRepeating2(
CVV vv_t,
int subtract_vv,
CVV vv_sub,
double tol,
ref int bad_row,
ref int bad_col
)
Public Function iCheckForRepeating2 (
vv_t As CVV,
subtract_vv As Integer,
vv_sub As CVV,
tol As Double,
ByRef bad_row As Integer,
ByRef bad_col As Integer
) As Integer
Public Function iCheckForRepeating2 (
vv_t As CVV,
subtract_vv As Integer,
vv_sub As CVV,
tol As Double,
ByRef bad_row As Integer,
ByRef bad_col As Integer
) As Integer
public:
int iCheckForRepeating2(
CVV^ vv_t,
int subtract_vv,
CVV^ vv_sub,
double tol,
int% bad_row,
int% bad_col
)
public:
int iCheckForRepeating2(
CVV^ vv_t,
int subtract_vv,
CVV^ vv_sub,
double tol,
int% bad_row,
int% bad_col
)
member iCheckForRepeating2 :
vv_t : CVV *
subtract_vv : int *
vv_sub : CVV *
tol : float *
bad_row : int byref *
bad_col : int byref -> int
member iCheckForRepeating2 :
vv_t : CVV *
subtract_vv : int *
vv_sub : CVV *
tol : float *
bad_row : int byref *
bad_col : int byref -> int
Parameters
- vv_t
- Type: GeoEngine.Core.GXNetXCVV
Items to test for repeats (length equal to the number of columns in the VA) - subtract_vv
- 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) - vv_sub
- Type: GeoEngine.Core.GXNetXCVV
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 - tol
- Type: SystemDouble
Comparison tolerance - set to zero or dummy for exact match - bad_row
- Type: SystemInt32
Row index of first mismatch - bad_col
- Type: SystemInt32
Column index of first mismatch
Return Value
Type:
Int321 if rows repeat, 0 if not.
Remarks
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.
See Also