Click or drag to resize
CMVUFlightPlot Method
Draw a flight line

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Current line color, thickness and style are used to draw the line. Current font, font color and font style are used to annotate the line labels. If current clipping is ON in the VIEW, lines will be clipped to the window before plotting. In this case, labels should be located ABOVE or BELOW the line traces to prevent labels being clipped. The offsets dOffA and dOffB control the vertical and horizontal label offsets with respect to the ends of the line trace and depending on the label location. The vertical line reference angle dVerAng is used to determine if lines are considered vertical or horizontal. Vertical lines use the sUp parameter to determine the label up direction. Normally, use an angle of 60 degrees unless there are lines that run in this direction.
Syntax
public static void FlightPlot(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CVV vv_x,
	CVV vv_y,
	string line,
	int locate,
	double vangle,
	int up,
	double loff,
	double voff
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
View
vv_x
Type: GeoEngine.Core.GXNetXCVV
X
vv_y
Type: GeoEngine.Core.GXNetXCVV
Y
line
Type: SystemString
Line label
locate
Type: SystemInt32
<define>MVU_FLIGHT_LOCATE</define>
vangle
Type: SystemDouble
Lines steeper than this angle are considered vertical and the up label direction is used.
up
Type: SystemInt32
Up label direction: 1 up is right, -1 up is left
loff
Type: SystemDouble
Along line label offset in mm.
voff
Type: SystemDouble
Perpendicular label offset mm.
See Also