Click or drag to resize
CDURotate Method
Rotate coordinates.

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 Rotate(
	CGXNETCore gxNetShared,
	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

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
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