RTCHECK nged BRL-CAD BRL-CAD MGED Commands
rtcheck Executes the BRL-CAD rtcheck program with the default options of "-s50 M."
`rtcheck` options

## DESCRIPTION

Executes the BRL-CAD rtcheck program with the default options of "-s50 M." The -M option tells rtcheck to read the viewing parameters from standard input so that rays are only fired from the current view. The current database name and the list of currently displayed objects are added to the end of the rtcheck command line. The rtcheck program is written such that options may be repeated, and the last occurrence of an option will override any earlier occurrences. This allows the user to specify other size (-s) options. The `rrt` command performs a similar function, but may be used to execute other programs as well. The rtcheck program uses raytracing to check for overlapping regions in the list of objects passed on the command line. When invoked from within MGED, any discovered overlaps along a ray are represented as yellow lines that extend only in the areas of overlap. Details and a count of overlaps are also reported. Note that overlaps of less than 0.1 mm are currently ignored by rtcheck. The default option of -s50 indicates that the checking rays should be fired from a uniform square grid with 50 rays on a side. This is very coarse and may miss significant overlaps. It is recommended that the user select appropriate options for the rtcheck program and execute it for a variety viewing aspects to perform a thorough check. The granularity of the grid may be controlled with the -s, -w, -n, -g, and -G options. See the man1 page on rtcheck for details.

## EXAMPLES

The example shows the use of the `rtcheck` command to run the rtcheck program with rays fired from a uniform grid with the rays spaced every 10 mm.

Run the rtcheck program to fire rays from a uniform grid with the rays spaced a specified distance apart.

mged> `rtcheck -g10 -G10`

Runs the rtcheck program with rays fired from a uniform grid with the rays spaced every 10 mm.

## AUTHOR

BRL-CAD Team

## BUG REPORTS

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