| CEMAPiDigitizePeaks Method |
Digitise points from the current map and place in VVs.
Available since Oasis montaj version: 9.0.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
Same as iDigitize2_EMAP, but the closest peaks to the selected locations are
returned instead of the selected location. The method chooses the highest value
of the 8 surrounding points, the repeats this process until no higher value can
be found in any of the 8 surrounding points. If there are two or more points with
a higher value, it will just take the first one and continue, and this method will
stall on flat areas as well (since no surrounding point is larger).
Syntax public int iDigitizePeaks(
CVV oVV1,
CVV oVV2,
CVV oVV3,
CIMG oIMG4,
string str5,
int i6
)
Public Function iDigitizePeaks (
oVV1 As CVV,
oVV2 As CVV,
oVV3 As CVV,
oIMG4 As CIMG,
str5 As String,
i6 As Integer
) As Integer
public:
int iDigitizePeaks(
CVV^ oVV1,
CVV^ oVV2,
CVV^ oVV3,
CIMG^ oIMG4,
String^ str5,
int i6
)
member iDigitizePeaks :
oVV1 : CVV *
oVV2 : CVV *
oVV3 : CVV *
oIMG4 : CIMG *
str5 : string *
i6 : int -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
real X VV - oVV2
- Type: GeoEngine.Core.GXNetCVV
real Y VV - oVV3
- Type: GeoEngine.Core.GXNetCVV
real Z VV - oIMG4
- Type: GeoEngine.Core.GXNetCIMG
IMG for Z value, or IMG_NULL for no Z. - str5
- Type: SystemString
Command line prompt string - i6
- Type: SystemInt32
0 for no newline 1 for automatic newline at each point
Return Value
Type:
Int32
0 if user digitized some points.
1 if user cancelled.
See Also