|  | CMESHUTILClipSurfaceWithPolygon2d Method  | 
 Clip a Surface a specified Polygon file
 
    Namespace: 
   GeoEngine.Core.GXNetX
    Assembly:
   geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2025.1.0.25
 Syntax
Syntaxpublic static int ClipSurfaceWithPolygon2d(
	CGXNETCore gxNetShared,
	string inputSurfaceFile,
	string inputSurface,
	string polygonFile,
	string outputSurfaceFile,
	string outputSurfaceName,
	int maskInside
)
public static int ClipSurfaceWithPolygon2d(
	CGXNETCore gxNetShared,
	string inputSurfaceFile,
	string inputSurface,
	string polygonFile,
	string outputSurfaceFile,
	string outputSurfaceName,
	int maskInside
)
Public Shared Function ClipSurfaceWithPolygon2d ( 
	gxNetShared As CGXNETCore,
	inputSurfaceFile As String,
	inputSurface As String,
	polygonFile As String,
	outputSurfaceFile As String,
	outputSurfaceName As String,
	maskInside As Integer
) As Integer
Public Shared Function ClipSurfaceWithPolygon2d ( 
	gxNetShared As CGXNETCore,
	inputSurfaceFile As String,
	inputSurface As String,
	polygonFile As String,
	outputSurfaceFile As String,
	outputSurfaceName As String,
	maskInside As Integer
) As Integer
public:
static int ClipSurfaceWithPolygon2d(
	CGXNETCore^ gxNetShared, 
	String^ inputSurfaceFile, 
	String^ inputSurface, 
	String^ polygonFile, 
	String^ outputSurfaceFile, 
	String^ outputSurfaceName, 
	int maskInside
)
public:
static int ClipSurfaceWithPolygon2d(
	CGXNETCore^ gxNetShared, 
	String^ inputSurfaceFile, 
	String^ inputSurface, 
	String^ polygonFile, 
	String^ outputSurfaceFile, 
	String^ outputSurfaceName, 
	int maskInside
)
static member ClipSurfaceWithPolygon2d : 
        gxNetShared : CGXNETCore * 
        inputSurfaceFile : string * 
        inputSurface : string * 
        polygonFile : string * 
        outputSurfaceFile : string * 
        outputSurfaceName : string * 
        maskInside : int -> int 
static member ClipSurfaceWithPolygon2d : 
        gxNetShared : CGXNETCore * 
        inputSurfaceFile : string * 
        inputSurface : string * 
        polygonFile : string * 
        outputSurfaceFile : string * 
        outputSurfaceName : string * 
        maskInside : int -> int 
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
 A shared CGXNETCore
- inputSurfaceFile
- Type: SystemString
 Input Geosurface file
- inputSurface
- Type: SystemString
 Input Surface name within Geosurface file
- polygonFile
- Type: SystemString
 Polygon File
- outputSurfaceFile
- Type: SystemString
 Output Surface file
- outputSurfaceName
- Type: SystemString
 Output Surface name
- maskInside
- Type: SystemInt32
 Set true if the values inside polygon are to be masked
Return Value
Type: 
Int32Surface clip status
 See Also
See Also