![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void Deviation(
CGXNETCore gxNetShared,
CVV vv_x,
CVV vv_y,
CVV vv_d,
double x1,
double y1,
double x2,
double y2,
int line
)
Public Shared Sub Deviation (
gxNetShared As CGXNETCore,
vv_x As CVV,
vv_y As CVV,
vv_d As CVV,
x1 As Double,
y1 As Double,
x2 As Double,
y2 As Double,
line As Integer
)
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
)
static member Deviation :
gxNetShared : CGXNETCore *
vv_x : CVV *
vv_y : CVV *
vv_d : CVV *
x1 : float *
y1 : float *
x2 : float *
y2 : float *
line : int -> unit
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