 | CGUI.iCoordSysWizardGrid Method |
Launch the coordinate system definition/display GUI.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iCoordSysWizardGrid(
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(
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 (
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 (
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(
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(
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 :
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 :
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
- ipj
- Type: GeoEngine.Core.GXNet.CIPJ
Original grid IPJ object - target_ipj
- Type: GeoEngine.Core.GXNet.CIPJ
Source (target) grid IPJ object. This is supplied so the modified orientation can be calculated and displayed. - editable
- Type: System.Int32
Editable IPJ (0:No, 1:Yes) - mode
- Type: System.Int32
<define>COORDSYS_MODE</define> - source_label
- Type: System.String
Data source label - source
- Type: System.String
Data source - nx
- Type: System.Int32
Number of cells in X - ny
- Type: System.Int32
Number of cells in Y - x0
- Type: System.Double
Grid orgin X (grid's own coordinate system) - y0
- Type: System.Double
Grid orgin Y (grid's own coordinate system) - dx
- Type: System.Double
Grid cell size X - dy
- Type: System.Double
Grid cell size Y - rot
- Type: System.Double
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