Click or drag to resize
CVVUDeviation Method
Calculate distance of point locations to a straight line

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
public static void Deviation(
	CGXNETCore gxNetShared,
	CVV vv_x,
	CVV vv_y,
	CVV vv_d,
	double x1,
	double y1,
	double x2,
	double y2,
	int line
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_x
Type: GeoEngine.Core.GXNetXCVV
X VV,REAL VV
vv_y
Type: GeoEngine.Core.GXNetXCVV
Y VV,REAL VV
vv_d
Type: GeoEngine.Core.GXNetXCVV
Output deviation VV,REAL VV
x1
Type: SystemDouble
X of 1st point to define straight line
y1
Type: SystemDouble
Y of 1st point to define straight line
x2
Type: SystemDouble
X of 2nd point or line azimuth in degrees (North is 0 degree)
y2
Type: SystemDouble
Y of 2nd point or <define>GS_R8DM</define> if line azimuth is defined
line
Type: SystemInt32
<define>VVU_LINE</define>
See Also