 | CEMAPiGetLineXYZ Method |
Returns the end points of a line in X,Y and Z
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iGetLineXYZ(
string str_val,
ref double min_x,
ref double min_y,
ref double min_z,
ref double max_x,
ref double max_y,
ref double max_z
)
public int iGetLineXYZ(
string str_val,
ref double min_x,
ref double min_y,
ref double min_z,
ref double max_x,
ref double max_y,
ref double max_z
)
Public Function iGetLineXYZ (
str_val As String,
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
) As Integer
Public Function iGetLineXYZ (
str_val As String,
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
) As Integer
public:
int iGetLineXYZ(
String^ str_val,
double% min_x,
double% min_y,
double% min_z,
double% max_x,
double% max_y,
double% max_z
)
public:
int iGetLineXYZ(
String^ str_val,
double% min_x,
double% min_y,
double% min_z,
double% max_x,
double% max_y,
double% max_z
)
member iGetLineXYZ :
str_val : string *
min_x : float byref *
min_y : float byref *
min_z : float byref *
max_x : float byref *
max_y : float byref *
max_z : float byref -> int
member iGetLineXYZ :
str_val : string *
min_x : float byref *
min_y : float byref *
min_z : float byref *
max_x : float byref *
max_y : float byref *
max_z : float byref -> int
Parameters
- str_val
- Type: SystemString
User prompt string - min_x
- Type: SystemDouble
X1 in view user units - min_y
- Type: SystemDouble
Y1 - min_z
- Type: SystemDouble
Z1 - max_x
- Type: SystemDouble
X2 - max_y
- Type: SystemDouble
Y2 - max_z
- Type: SystemDouble
Z2
Return Value
Type:
Int32
0 if line returned.
1 - Right Mouse
2 - Escape/Cancel
Remarks
The coordinates are returned in the current User projection
(See GetUserIPJ_MVIEW and SetUserIPJ_MVIEW.)
This is useful for digitizing a line in an oriented view and getting
the true coordinates in (X, Y, Z) at the selected point on the view plane.
See Also