QUERY_RAY(nged)
NAME
query_ray - Runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects.
DESCRIPTION
Runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects. By default, NIRT is run using the current database and the currently displayed objects and uses the current eye point as the ray start point and the current viewing direction as the ray direction. This effectively fires a ray at the center of the MGED display. The resulting list of intersections between the ray and the objects is given. Additional arguments may be supplied on the NIRT command line. See the man page of nirt for more details.
EXAMPLES
The example shows the use of the query_ray command to fire a single ray through the center of the MGED display.
mged> query_ray
Fires a single ray through the center of the MGED display.
COPYRIGHT
This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org