nirt — Runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects.
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 it 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 collection of intersections between the ray and the objects is listed. Additional arguments may be supplied on the nirt command line. See the manpage of nirt for more details.
The example shows the use of the nirt command to fire a single ray through the center of the MGED display.
Example 1. Run the NIRT program to fire a ray through the MGED display.
mged>
nirt
Fires a single ray through the center of the MGED display.
Reports of bugs or problems should be submitted via electronic
mail to <devs@brlcad.org>