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.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void GridMask(
	CGXNETCore gxNetShared,
	string in_grid,
	string m_grid,
	CPLY pply,
	int mode
)

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>
Remarks
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.
See Also