| 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.GXNetXAssembly: 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
)
Public Shared Function TrimUBC2DModel (
gxNetShared As CGXNETCore,
pg As CPG,
trim_xl As Integer,
trim_xr As Integer,
trim_z As Integer,
vv_x As CVV,
vv_z As CVV,
ByRef x As Double
) As CPG
public:
static CPG^ TrimUBC2DModel(
CGXNETCore^ gxNetShared,
CPG^ pg,
int trim_xl,
int trim_xr,
int trim_z,
CVV^ vv_x,
CVV^ vv_z,
double% x
)
static member TrimUBC2DModel :
gxNetShared : CGXNETCore *
pg : CPG *
trim_xl : int *
trim_xr : int *
trim_z : int *
vv_x : CVV *
vv_z : CVV *
x : float byref -> CPG
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:
CPGPG Object
See Also