![](../icons/Help.png) | CEMAPiGetPoint3D Method |
Returns the coordinates of a user selected point.
Available since Oasis montaj version: 9.1
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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesThis will wait for user to select a point.
Syntaxpublic int iGetPoint3D(
string str_val,
ref double x,
ref double y,
ref double z
)
Public Function iGetPoint3D (
str_val As String,
ByRef x As Double,
ByRef y As Double,
ByRef z As Double
) As Integer
public:
int iGetPoint3D(
String^ str_val,
double% x,
double% y,
double% z
)
member iGetPoint3D :
str_val : string *
x : float byref *
y : float byref *
z : float byref -> int
Parameters
- str_val
- Type: SystemString
User prompt string - x
- Type: SystemDouble
X coordinate in current view user units. - y
- Type: SystemDouble
Y - z
- Type: SystemDouble
Z
Return Value
Type:
Int32
0 if point returned.
1 if user used right mouse and then Done.
2 if user cancelled.
3 if capture is lost.
See Also