 | 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
Syntaxpublic static void RefFile(
CPG pg,
string ref_fil
)
public static void RefFile(
CPG pg,
string ref_fil
)
Public Shared Sub RefFile (
pg As CPG,
ref_fil As String
)
Public Shared Sub RefFile (
pg As CPG,
ref_fil As String
)
public:
static void RefFile(
CPG^ pg,
String^ ref_fil
)
public:
static void RefFile(
CPG^ pg,
String^ ref_fil
)
static member RefFile :
pg : CPG *
ref_fil : string -> unit
static member RefFile :
pg : CPG *
ref_fil : string -> unit
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