Click or drag to resize

CDUCopyLineMasked Method

Copy a line, prune items based on a mask channel

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void CopyLineMasked(
	CDB db,
	int i_line,
	int mask,
	int prune,
	int o_line
)

public static void CopyLineMasked(
	CDB db,
	int i_line,
	int mask,
	int prune,
	int o_line
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database Object
i_line
Type: SystemInt32
Input Line Symbol [<define>DB_LOCK_READONLY</define>]
mask
Type: SystemInt32
Mask Channel Symbol [<define>DB_LOCK_READONLY</define>]
prune
Type: SystemInt32
<define>VVU_PRUNE</define>
o_line
Type: SystemInt32
Output Line Symbol [<define>DB_LOCK_READWRITE</define>]
Remarks
The input line's channel data is ReFidded to the mask channel, and then pruned from the output line data, based on the value of the VVU_PRUNE_XXX variable. For <define>VVU_PRUNE_DUMMY</define>, only those items where the mask channel value is not a dummy are retained, while the complement is retained for VV_PRUNE_VALID.
See Also