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
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The IMG parameters MUST be of type <define>GS_DOUBLE</define>! 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(
	CGXNETCore gxNetShared,
	string in_grid,
	string m_grid,
	CPLY pply,
	int mode
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
in_grid
Type: SystemString
Name of input grid
m_grid
Type: SystemString
Name of output mask grid file
pply
Type: GeoEngine.Core.GXNetXCPLY
Polygon containing mask coordinates
mode
Type: SystemInt32
<define>IMU_MASK</define>
See Also