![](../icons/Help.png) | CDHMaskPLY Method |
Set mask channel based on view selection polygon.
Available since Oasis montaj version: 5.1.3
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntaxpublic void MaskPLY(
CPLY pply,
CIPJ ipj,
double tol,
string mask,
int select,
int append
)
Public Sub MaskPLY (
pply As CPLY,
ipj As CIPJ,
tol As Double,
mask As String,
select As Integer,
append As Integer
)
public:
void MaskPLY(
CPLY^ pply,
CIPJ^ ipj,
double tol,
String^ mask,
int select,
int append
)
member MaskPLY :
pply : CPLY *
ipj : CIPJ *
tol : float *
mask : string *
select : int *
append : int -> unit
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>
See Also