![](../icons/Help.png) | CEMAPiDigitizePeaks Method |
Digitise points from the current map and place in VVs.
Available since Oasis montaj version: 9.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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.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).
Syntaxpublic int iDigitizePeaks(
CVV vvx,
CVV vvy,
CVV vvz,
CIMG img,
string prompt,
int newline
)
Public Function iDigitizePeaks (
vvx As CVV,
vvy As CVV,
vvz As CVV,
img As CIMG,
prompt As String,
newline As Integer
) As Integer
public:
int iDigitizePeaks(
CVV^ vvx,
CVV^ vvy,
CVV^ vvz,
CIMG^ img,
String^ prompt,
int newline
)
member iDigitizePeaks :
vvx : CVV *
vvy : CVV *
vvz : CVV *
img : CIMG *
prompt : string *
newline : int -> int
Parameters
- vvx
- Type: GeoEngine.Core.GXNetXCVV
Real X VV - vvy
- Type: GeoEngine.Core.GXNetXCVV
Real Y VV - vvz
- Type: GeoEngine.Core.GXNetXCVV
Real Z VV - img
- Type: GeoEngine.Core.GXNetXCIMG
IMG for Z value, or <define>IMG_NULL</define> for no Z. - prompt
- Type: SystemString
Command line prompt string - newline
- 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