Click or drag to resize
CMESHUTILClipSurfaceWithGrid Method
Clip a Surface with a Grid Surface (grid converted to surface)

Available since Oasis montaj version: 9.5
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Syntax
public static int ClipSurfaceWithGrid(
	CGXNETCore gxNetShared,
	string inputSurfaceFile,
	string inputSurface,
	string gridSurfaceFileName,
	string gridSurfaceName,
	string outputSurfaceFile,
	string outputSurfaceNameAbove,
	string outputSurfaceNameBelow,
	int surface_clip_mode
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
inputSurfaceFile
Type: SystemString
Input Geosurface file
inputSurface
Type: SystemString
Input Surface name within Geosurface file
gridSurfaceFileName
Type: SystemString
Grid Surface file name
gridSurfaceName
Type: SystemString
Grid surface name within file
outputSurfaceFile
Type: SystemString
Output Surface file
outputSurfaceNameAbove
Type: SystemString
Name of Surface Item above grid - required for mode=CLIP_ABOVE and CLIP_BOTH
outputSurfaceNameBelow
Type: SystemString
Name of Surface Item below grid - required for mode=CLIP_BELOW and CLIP_BOTH
surface_clip_mode
Type: SystemInt32
<define>SURFACE_CLIP_MODE</define>

Return Value

Type: Int32
Surface clip status
See Also