| CEMAPiGetPoint3D Method |
Returns the coordinates of a user selected point.
Available since Oasis montaj version: 9.1.0
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.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes This will wait for user to select a point.
Syntax public int iGetPoint3D(
string str1,
ref double d2,
ref double d3,
ref double d4
)
Public Function iGetPoint3D (
str1 As String,
ByRef d2 As Double,
ByRef d3 As Double,
ByRef d4 As Double
) As Integer
public:
int iGetPoint3D(
String^ str1,
double% d2,
double% d3,
double% d4
)
member iGetPoint3D :
str1 : string *
d2 : float byref *
d3 : float byref *
d4 : float byref -> int
Parameters
- str1
- Type: SystemString
user prompt string - d2
- Type: SystemDouble
X coordinate in current view user units. - d3
- Type: SystemDouble
Y - d4
- 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