 | 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
Syntaxpublic 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
)
Public Shared Sub Deviation (
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 Shared Sub Deviation (
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(
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
)
static member Deviation :
vv_x : CVV *
vv_y : CVV *
vv_d : CVV *
x1 : float *
y1 : float *
x2 : float *
y2 : float *
line : int -> unit
static member Deviation :
vv_x : CVV *
vv_y : CVV *
vv_d : CVV *
x1 : float *
y1 : float *
x2 : float *
y2 : float *
line : int -> unit
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