Skip to documentation
DocumentationAll documentsEnglish

VIEWDIR(nged)

NAME

viewdir - Returns the direction vector using the current azimuth and elevation (AE).

On this page

SYNOPSIS

viewdir [-i]

DESCRIPTION

Returns the direction vector using the current azimuth and elevation as input. If the -i option is used the commmand will return the inverse directional vector.

EXAMPLES

The example shows the use of the viewdir command to get the direction vector.

Example 1. Find the current direction vector.

mged>viewdir

Returns the direction vector using the current azimuth and elevation.

SEE ALSO

view(nged), ae2dir(nged), dir2ae(nged), and qvrot(nged)

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org