Click or drag to resize

CDURotate Method

Rotate coordinates.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void Rotate(
	CDB db,
	int line,
	int in_x_ch,
	int in_y_ch,
	int out_x_ch,
	int out_y_ch,
	double x0,
	double y0,
	double deg
)

public static void Rotate(
	CDB db,
	int line,
	int in_x_ch,
	int in_y_ch,
	int out_x_ch,
	int out_y_ch,
	double x0,
	double y0,
	double deg
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database
line
Type: SystemInt32
Line symbol
in_x_ch
Type: SystemInt32
Input X channel [<define>DB_LOCK_READONLY</define>]
in_y_ch
Type: SystemInt32
Input Y channel [<define>DB_LOCK_READONLY</define>]
out_x_ch
Type: SystemInt32
Output X channel [<define>DB_LOCK_READWRITE</define>]
out_y_ch
Type: SystemInt32
Output Y channel [<define>DB_LOCK_READWRITE</define>]
x0
Type: SystemDouble
X point about which to rotate
y0
Type: SystemDouble
Y of point about which to rotate
deg
Type: SystemDouble
Angle in degrees CCW
See Also