Click or drag to resize
CIMUGridMask Method
Create a mask grid using a set of polygon coordinates defined in a separate file, then masking the polygon over an input grid.

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The IMG parameters MUST be of type GS_DOUBLE! If not, the method will terminate. The PLY will contain more than one polygon if it was loaded from a file containing coordinates of more than one polygon.
Syntax
public static void GridMask(
	string str1,
	string str2,
	CPLY oPLY3,
	int i4
)

Parameters

str1
Type: SystemString
Name of input grid
str2
Type: SystemString
Name of output mask grid file
oPLY3
Type: GeoEngine.Core.GXNetCPLY
Polygon containing mask coordinates
i4
Type: SystemInt32
See IMU_MASKConstant
See Also