Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
public 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
)

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