 | CTINNearestVV Method |
Interp TINned values using the nearest neighbour.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void NearestVV(
CVV vvx,
CVV vvy,
CVV vvz
)
public void NearestVV(
CVV vvx,
CVV vvy,
CVV vvz
)
Public Sub NearestVV (
vvx As CVV,
vvy As CVV,
vvz As CVV
)
Public Sub NearestVV (
vvx As CVV,
vvy As CVV,
vvz As CVV
)
public:
void NearestVV(
CVV^ vvx,
CVV^ vvy,
CVV^ vvz
)
public:
void NearestVV(
CVV^ vvx,
CVV^ vvy,
CVV^ vvz
)
member NearestVV :
vvx : CVV *
vvy : CVV *
vvz : CVV -> unit
member NearestVV :
vvx : CVV *
vvy : CVV *
vvz : CVV -> unit
Parameters
- vvx
- Type: GeoEngine.Core.GXNetXCVV
VV X locations to interpolate (<define>GS_DOUBLE</define>) - vvy
- Type: GeoEngine.Core.GXNetXCVV
VV Y locations to interpolate (<define>GS_DOUBLE</define>) - vvz
- Type: GeoEngine.Core.GXNetXCVV
VV Interpolated Z values (<define>GS_DOUBLE</define>)
Remarks
The TIN have been created using max length = <define>rDUMMY</define> to
ensure that the TIN has a convex hull (otherwise the
routine that locates the triangle for a given location may fail).
The TIN must also have been created using the Z values.
Values located outside the convex hull are set to <define>rDUMMY</define>.
Within each voronoi triangle, the Z value of node closest to the input
X,Y location is returned.
See Also