Click or drag to resize

CVVUDeviation Method

Calculate distance of point locations to a straight line

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void Deviation(
	CVV vv_x,
	CVV vv_y,
	CVV vv_d,
	double x1,
	double y1,
	double x2,
	double y2,
	int line
)

public static void Deviation(
	CVV vv_x,
	CVV vv_y,
	CVV vv_d,
	double x1,
	double y1,
	double x2,
	double y2,
	int line
)

Parameters

vv_x
Type: GeoEngine.Core.GXNetCVV
X VV,REAL VV
vv_y
Type: GeoEngine.Core.GXNetCVV
Y VV,REAL VV
vv_d
Type: GeoEngine.Core.GXNetCVV
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