BRL-CAD
#include "common.h"
#include "vmath.h"
#include "bg/defines.h"
Include dependency graph for clip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int bg_lseg_clip (fastf_t *xp1, fastf_t *yp1, fastf_t *xp2, fastf_t *yp2, fastf_t clip_min, fastf_t clip_max)
 Clip a 2-D integer line seg against the size of the display. More...
 
int bg_ray_vclip (point_t a, point_t b, fastf_t *min_pt, fastf_t *max_pt)
 Clip a line segment against a rectangular parallelepiped (RPP). More...