![](../icons/Help.png) | CIMUCRCGridInexact Method |
Computes a CRC Checksum on a grid and allows you to specify
number of bits of floats/doubles to drop so that the CRC
will be same even of this are changed.
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Very useful for testing where the last bits of accuracy
are not as important.
Syntaxpublic static int CRCGridInexact(
CGXNETCore gxNetShared,
string grid,
int pul_crc,
int float_bits,
int double_bits
)
Public Shared Function CRCGridInexact (
gxNetShared As CGXNETCore,
grid As String,
pul_crc As Integer,
float_bits As Integer,
double_bits As Integer
) As Integer
public:
static int CRCGridInexact(
CGXNETCore^ gxNetShared,
String^ grid,
int pul_crc,
int float_bits,
int double_bits
)
static member CRCGridInexact :
gxNetShared : CGXNETCore *
grid : string *
pul_crc : int *
float_bits : int *
double_bits : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - grid
- Type: SystemString
Grid - pul_crc
- Type: SystemInt32
Starting CRC (use <define>CRC_INIT_VALUE</define> if none) - float_bits
- Type: SystemInt32
<define>IMU_FLOAT_CRC_BITS</define> - double_bits
- Type: SystemInt32
<define>IMU_DOUBLE_CRC_BITS</define>
Return Value
Type:
Int32CRC value
See Also