 | CGUIiCoordSysWizardGrid Method |
Launch the coordinate system definition/display GUI.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static int iCoordSysWizardGrid(
CGXNETCore gxNetShared,
CIPJ ipj,
CIPJ target_ipj,
int editable,
int mode,
string source_label,
string source,
int nx,
int ny,
ref double x0,
ref double y0,
ref double dx,
ref double dy,
ref double rot
)
public static int iCoordSysWizardGrid(
CGXNETCore gxNetShared,
CIPJ ipj,
CIPJ target_ipj,
int editable,
int mode,
string source_label,
string source,
int nx,
int ny,
ref double x0,
ref double y0,
ref double dx,
ref double dy,
ref double rot
)
Public Shared Function iCoordSysWizardGrid (
gxNetShared As CGXNETCore,
ipj As CIPJ,
target_ipj As CIPJ,
editable As Integer,
mode As Integer,
source_label As String,
source As String,
nx As Integer,
ny As Integer,
ByRef x0 As Double,
ByRef y0 As Double,
ByRef dx As Double,
ByRef dy As Double,
ByRef rot As Double
) As Integer
Public Shared Function iCoordSysWizardGrid (
gxNetShared As CGXNETCore,
ipj As CIPJ,
target_ipj As CIPJ,
editable As Integer,
mode As Integer,
source_label As String,
source As String,
nx As Integer,
ny As Integer,
ByRef x0 As Double,
ByRef y0 As Double,
ByRef dx As Double,
ByRef dy As Double,
ByRef rot As Double
) As Integer
public:
static int iCoordSysWizardGrid(
CGXNETCore^ gxNetShared,
CIPJ^ ipj,
CIPJ^ target_ipj,
int editable,
int mode,
String^ source_label,
String^ source,
int nx,
int ny,
double% x0,
double% y0,
double% dx,
double% dy,
double% rot
)
public:
static int iCoordSysWizardGrid(
CGXNETCore^ gxNetShared,
CIPJ^ ipj,
CIPJ^ target_ipj,
int editable,
int mode,
String^ source_label,
String^ source,
int nx,
int ny,
double% x0,
double% y0,
double% dx,
double% dy,
double% rot
)
static member iCoordSysWizardGrid :
gxNetShared : CGXNETCore *
ipj : CIPJ *
target_ipj : CIPJ *
editable : int *
mode : int *
source_label : string *
source : string *
nx : int *
ny : int *
x0 : float byref *
y0 : float byref *
dx : float byref *
dy : float byref *
rot : float byref -> int
static member iCoordSysWizardGrid :
gxNetShared : CGXNETCore *
ipj : CIPJ *
target_ipj : CIPJ *
editable : int *
mode : int *
source_label : string *
source : string *
nx : int *
ny : int *
x0 : float byref *
y0 : float byref *
dx : float byref *
dy : float byref *
rot : float byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - ipj
- Type: GeoEngine.Core.GXNetXCIPJ
Original grid IPJ object - target_ipj
- Type: GeoEngine.Core.GXNetXCIPJ
Source (target) grid IPJ object. This is supplied so the modified orientation can be calculated and displayed. - editable
- Type: SystemInt32
Editable IPJ (0:No, 1:Yes) - mode
- Type: SystemInt32
<define>COORDSYS_MODE</define> - source_label
- Type: SystemString
Data source label - source
- Type: SystemString
Data source - nx
- Type: SystemInt32
Number of cells in X - ny
- Type: SystemInt32
Number of cells in Y - x0
- Type: SystemDouble
Grid orgin X (grid's own coordinate system) - y0
- Type: SystemDouble
Grid orgin Y (grid's own coordinate system) - dx
- Type: SystemDouble
Grid cell size X - dy
- Type: SystemDouble
Grid cell size Y - rot
- Type: SystemDouble
Grid rotation angle (degrees CCW)
Return Value
Type:
Int32
0 - Ok
1 - Cancel
Remarks
Same as iCoordSysWizardLicensed_GUI but allows the original grid info to be adjusted
when projections on section or oriented plan grids are modified.
In the tool, it is the "modified" orientation required to keep the edited projection's grid
in the same location as it was in the target projection.
See Also