Click or drag to resize

CDHMaskPLY Method

Set mask channel based on view selection polygon.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void MaskPLY(
	CPLY pply,
	CIPJ ipj,
	double tol,
	string mask,
	int select,
	int append
)

public void MaskPLY(
	CPLY pply,
	CIPJ ipj,
	double tol,
	string mask,
	int select,
	int append
)

Parameters

pply
Type: GeoEngine.Core.GXNetXCPLY
Masking polygon
ipj
Type: GeoEngine.Core.GXNetXCIPJ
Projection from data to polygon coordinates
tol
Type: SystemDouble
Slice thickness - <define>rDUMMY</define> for no limiting thickness
mask
Type: SystemString
Name of mask channel
select
Type: SystemInt32
<define>DH_HOLES</define>
append
Type: SystemInt32
<define>DH_MASK</define>
Remarks
Data values inside the polygon area, and within the slice thickness have their mask channel values set to 1. If the specified mask channel does not exist, it is created. <define>DH_MASK_NEW</define> --- Mask is created new for each selected hole <define>DH_MASK_APPEND</define> --- Current selection is added to previous.
See Also