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

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

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
	CPG oPG1,
	int i2,
	int i3,
	int i4,
	CVV oVV5,
	CVV oVV6,
	ref double d7
)

Parameters

oPG1
Type: GeoEngine.Core.GXNetCPG
Input model (unchanged)
i2
Type: SystemInt32
Cells to remove on left
i3
Type: SystemInt32
Cells to remove on right
i4
Type: SystemInt32
Cells to remove on the bottom
oVV5
Type: GeoEngine.Core.GXNetCVV
Column widths (modified)
oVV6
Type: GeoEngine.Core.GXNetCVV
Row heights (modified)
d7
Type: SystemDouble
Top left corner X (modified)

Return Value

Type: CPG
PG Object
See Also