Click or drag to resize

CGUIiGetAreaOfInterest3D Method (IWin32Window, Double, Double, Double, Double, Double, Double, CPLY, CIPJ)

Get the current area of interest from the application in 3D.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iGetAreaOfInterest3D(
	IWin32Window owner,
	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 static int iGetAreaOfInterest3D(
	IWin32Window owner,
	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

owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
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.GXNetCPLY
AOI Bounding PLY (Filled if available, otherwise empty)
ipj
Type: GeoEngine.Core.GXNetCIPJ
AOI Bounding IPJ

Return Value

Type: Int32
<define>AOI_RETURN_STATE</define>
Remarks
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.
See Also