Description | Example | Return Message | Group

VO LineOfBearing

Define an Line of Bearing which is drawn from an origin in the direction of a bearing.

Syntax

VO <ObjectPath> LineOfBearing {Keyword} <Value> [{Keyword} <Value>...]

Related Commands

Description

Create and set attributes for a line of bearing for a vehicle, facility or place. A line of bearing is drawn from it's origin in the direction of it's bearing.

When defined for a vehicle, the line of bearing does not move the vehicle's location, and when the vehicle moves the line of bearing does not move with it. The line of bearing must be moved explicitly.

Note: The BorderWall keyword must come last in the command syntax or the command will NACK.

{Keyword} <Value> Description
Show {On | Off} Show or hide the line of bearing.
Color {Color} Set the color of the bearing line. For valid {Color} options see Common Options.
LineStyle {LineStyle} Set the line style of the bearing line. For valid {LineStyle} options see Common Options.
LineWidth <LineWidth> Indicate a pixel width value between 1.0 and 10.0.
Bearing <Value> The bearing value, relative to North. Valid values are -360 to 360, entered in degrees.
BearingError <Value> Define two additional lines which are drawn in the direction of the bearing +/- the BearingError. Valid values are 0 to 180, entered in degrees. Default value is 15 degrees.
ErrorColor {Color} Set the color of the bearing error lines. For valid {Color} options see Common Options.
ErrorLineStyle {LineStyle} Set the line style of the bearing error lines. Valid values for {LineStyle} can be a name, such as Solid, Dashed, Dotted, or an integer. For valid {LineStyle} options see Common Options
ErrorLineWidth <LineWidth> Set the line width of the bearing error lines. Indicate a pixel width value between 1.0 and 10.0.
LineLength <Value> The length of the line of bearing. Entered in Connect distance units, the value must be greater than 0. The default value is 12,000 m.
OriginLat <Value> Define the latitude for the origin of the line of bearing. Entered in degrees, valid values are -90 to 90. Default value is 0 degrees.
OriginLon <Value> Define the longitude for the origin of the line of bearing. Entered in degrees, valid values are -360 to 360. Default value is 0 degrees.
OriginAltitude <Value> Define the altitude for the origin of the line of bearing. Entered in Connect distance units.
ShowLabels {On | Off} Show or hide the Length label.
ShowText {On | Off} Show or hide the user defined text.
Text "<Text>" Set user defined text.
BorderWall {Options} The line of bearing can be drawn as a border wall. For the options available see VO BorderWall.

Note: The BorderWall keyword must come last in the command syntax or the command will NACK.

Note: The line of bearing will render much faster as a line than a Borderwall, especially if the border wall is drawn relative to terrain.

Note: The following keywords have been deprecated in STK10.1.

The deprecated keywords will be maintained for backward compatibility only. They have been replaced by keywords that allow <Value> to be entered in Connect distance units, rather than being restricted to meters.

Deprecated Keyword Use this instead:
Length LineLength
OriginAlt OriginAltitude

Example

Show a LineOfBearing for the aircraft airBwLineOfBearing:

VO */Aircraft/airBwLineOfBearing LineOfBearing Show On Color Red Bearing -10 BearingError 35 OriginLat 37 OriginLon -117.23

Define a LineOfBearing for facBwLineOfBearing, with a length of 20000m, and which includes a BorderWall:

VO */Facility/facBwLineOfBearing LineOfBearing Show On Color Blue LineWidth 3 LineLength 20000 bearing 40 bearingError 35 OriginLat 36.3 OriginLon -117.7 Borderwall show on topaltref terrain topaltrefvalue 8000 bottomaltref terrain bottomaltrefvalue 1000

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Facilities, Places & Targets

Vehicles

VO

VO Objects

Version

10.1

STK Programming Interface 11.0.1