Click or drag to resize
CIPTrimUBC2DModel Method
Trim the padding cells from the UBC IPINV2D Model.

Available since Oasis montaj version: 7.1
License: Available to specially licensed modules.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The cells are removed from the left, right and bottom. The returned PG is the trimmed version. The input cell size VVs are also trimmed to match, and the origin is updated (still upper left corner).
Syntax
public static CPG TrimUBC2DModel(
	CGXNETCore gxNetShared,
	CPG pg,
	int trim_xl,
	int trim_xr,
	int trim_z,
	CVV vv_x,
	CVV vv_z,
	ref double x
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg
Type: GeoEngine.Core.GXNetXCPG
Input model (unchanged)
trim_xl
Type: SystemInt32
Cells to remove on left
trim_xr
Type: SystemInt32
Cells to remove on right
trim_z
Type: SystemInt32
Cells to remove on the bottom
vv_x
Type: GeoEngine.Core.GXNetXCVV
Column widths (modified)
vv_z
Type: GeoEngine.Core.GXNetXCVV
Row heights (modified)
x
Type: SystemDouble
Top left corner X (modified)

Return Value

Type: CPG
PG Object
See Also