Click or drag to resize

CMESHUTILClipSurfaceWithPolygon2d Method

Clip a Surface a specified Polygon file

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
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
)

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: Int32
Surface clip status
See Also