 | 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
Syntaxpublic 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
)
Public Shared Sub GridMask (
gxNetShared As CGXNETCore,
in_grid As String,
m_grid As String,
pply As CPLY,
mode As Integer
)
Public Shared Sub GridMask (
gxNetShared As CGXNETCore,
in_grid As String,
m_grid As String,
pply As CPLY,
mode As Integer
)
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
)
static member GridMask :
gxNetShared : CGXNETCore *
in_grid : string *
m_grid : string *
pply : CPLY *
mode : int -> unit
static member GridMask :
gxNetShared : CGXNETCore *
in_grid : string *
m_grid : string *
pply : CPLY *
mode : int -> unit
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