 | CIPTrimUBC2DModel Method |
Trim the padding cells from the UBC IPINV2D Model.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic 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 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 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
)
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
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
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