Header file for the BRL-CAD common definitions.
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.
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).
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
fundamental vector, matrix, quaternion math macros