![](../icons/Help.png) | CGUIiGetAreaOfInterest3D Method (CGXNETCore, Double, Double, Double, Double, Double, Double, CPLY, CIPJ) |
Get the current area of interest from the application in 3D.
Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Depending on what is currently visible on screen and
the defined coordinate system the user may be prompted
by a warning and optionaly cancel the process.
Syntaxpublic static int iGetAreaOfInterest3D(
CGXNETCore gxNetShared,
ref double min_x,
ref double min_y,
ref double min_z,
ref double max_x,
ref double max_y,
ref double max_z,
CPLY ply,
CIPJ ipj
)
Public Shared Function iGetAreaOfInterest3D (
gxNetShared As CGXNETCore,
ByRef min_x As Double,
ByRef min_y As Double,
ByRef min_z As Double,
ByRef max_x As Double,
ByRef max_y As Double,
ByRef max_z As Double,
ply As CPLY,
ipj As CIPJ
) As Integer
public:
static int iGetAreaOfInterest3D(
CGXNETCore^ gxNetShared,
double% min_x,
double% min_y,
double% min_z,
double% max_x,
double% max_y,
double% max_z,
CPLY^ ply,
CIPJ^ ipj
)
static member iGetAreaOfInterest3D :
gxNetShared : CGXNETCore *
min_x : float byref *
min_y : float byref *
min_z : float byref *
max_x : float byref *
max_y : float byref *
max_z : float byref *
ply : CPLY *
ipj : CIPJ -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - min_x
- Type: SystemDouble
AOI Area Min X - min_y
- Type: SystemDouble
AOI Area Min Y - min_z
- Type: SystemDouble
AOI Area Min Z - max_x
- Type: SystemDouble
AOI Area Max X - max_y
- Type: SystemDouble
AOI Area Max y - max_z
- Type: SystemDouble
AOI Area Max Z - ply
- Type: GeoEngine.Core.GXNetXCPLY
AOI Bounding PLY (Filled if available, otherwise empty) - ipj
- Type: GeoEngine.Core.GXNetXCIPJ
AOI Bounding IPJ
Return Value
Type:
Int32<define>AOI_RETURN_STATE</define>
See Also