Click or drag to resize

CPGURefFile Method

Create a reference file (boolean mask flag) from pager.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void RefFile(
	CPG pg,
	string ref_fil
)

public static void RefFile(
	CPG pg,
	string ref_fil
)

Parameters

pg
Type: GeoEngine.Core.GXNetCPG
PG object
ref_fil
Type: SystemString
Reference file name
Remarks
A reference file is a binary file with the following format: The first 8 bytes are the pager dimensions NX and NY as longs. The remaining bits, one bit per pager cell - (NX * NY)/8 bytes are zero where the pager is dummy, and 1 where the pager is defined. The reference file is used in various operations where it is necessary to mask some output to the original defined cells.
See Also