 | 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.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void GridMask(
string in_grid,
string m_grid,
CPLY pply,
int mode
)
public static void GridMask(
string in_grid,
string m_grid,
CPLY pply,
int mode
)
Public Shared Sub GridMask (
in_grid As String,
m_grid As String,
pply As CPLY,
mode As Integer
)
Public Shared Sub GridMask (
in_grid As String,
m_grid As String,
pply As CPLY,
mode As Integer
)
public:
static void GridMask(
String^ in_grid,
String^ m_grid,
CPLY^ pply,
int mode
)
public:
static void GridMask(
String^ in_grid,
String^ m_grid,
CPLY^ pply,
int mode
)
static member GridMask :
in_grid : string *
m_grid : string *
pply : CPLY *
mode : int -> unit
static member GridMask :
in_grid : string *
m_grid : string *
pply : CPLY *
mode : int -> unit
Parameters
- in_grid
- Type: SystemString
Name of input grid - m_grid
- Type: SystemString
Name of output mask grid file - pply
- Type: GeoEngine.Core.GXNetCPLY
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