BRL-CAD
Collaboration diagram for Line Segments:

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)
 

Detailed Description

Function Documentation

◆ bg_distsq_lseg3_pt()

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.

◆ bg_distsq_lseg3_lseg3()

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 
)

◆ bv_snap_lines_2d()

int bv_snap_lines_2d ( struct bview v,
fastf_t fx,
fastf_t fy 
)

◆ bv_snap_grid_2d()

int bv_snap_grid_2d ( struct bview v,
fastf_t fx,
fastf_t fy 
)

◆ bv_snap_lines_3d()

int bv_snap_lines_3d ( point_t out_pt,
struct bview v,
point_t p 
)

◆ bv_view_center_linesnap()

void bv_view_center_linesnap ( struct bview v)