Header file for the BRL-CAD common definitions.
double bg_distsq_lseg3_pt(point_t *c, const point_t P0, const point_t P1, const point_t Q)
Functions for working with line segments.
int bv_snap_lines_3d(point_t *out_pt, struct bview *v, point_t *p)
int bv_snap_grid_2d(struct bview *v, fastf_t *fx, fastf_t *fy)
int bv_snap_lines_2d(struct bview *v, fastf_t *fx, fastf_t *fy)
void bv_view_center_linesnap(struct bview *v)
double bg_distsq_lseg3_lseg3(point_t *c1, point_t *c2, const point_t P0, const point_t P1, const point_t Q0, const point_t Q1)
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