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

Go to the source code of this file.

Functions

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. More...
 
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)
 
int bv_snap_lines_2d (struct bview *v, fastf_t *fx, fastf_t *fy)
 
int bv_snap_grid_2d (struct bview *v, fastf_t *fx, fastf_t *fy)
 
int bv_snap_lines_3d (point_t *out_pt, struct bview *v, point_t *p)
 
void bv_view_center_linesnap (struct bview *v)