Click or drag to resize

CVVCRCInexact Method

Compute the CRC value of a VV 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.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int CRCInexact(
	int pul_crc,
	int float_bits,
	int double_bits
)

public int CRCInexact(
	int pul_crc,
	int float_bits,
	int double_bits
)

Parameters

pul_crc
Type: SystemInt32
Previous CRC <define>CRC_INIT_VALUE</define>
float_bits
Type: SystemInt32
<define>VV_FLOAT_CRC_BITS</define>
double_bits
Type: SystemInt32
<define>VV_DOUBLE_CRC_BITS</define>

Return Value

Type: Int32
CRC Value
Remarks
Very useful for testing where the last bits of accuracy are not as important.
See Also