Click or drag to resize

CIPTrimUBC2DModel Method

Trim the padding cells from the UBC IPINV2D Model.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static CPG TrimUBC2DModel(
	CPG pg,
	int trim_xl,
	int trim_xr,
	int trim_z,
	CVV vv_x,
	CVV vv_z,
	ref double x
)

public static CPG TrimUBC2DModel(
	CPG pg,
	int trim_xl,
	int trim_xr,
	int trim_z,
	CVV vv_x,
	CVV vv_z,
	ref double x
)

Parameters

pg
Type: GeoEngine.Core.GXNetCPG
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.GXNetCVV
Column widths (modified)
vv_z
Type: GeoEngine.Core.GXNetCVV
Row heights (modified)
x
Type: SystemDouble
Top left corner X (modified)

Return Value

Type: CPG
PG Object
Remarks
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).
See Also