BRL-CAD
Loading...
Searching...
No Matches
Collaboration diagram for Pipe:

Files

file  pipe.h
 

Data Structures

struct  rt_pipe_internal
 
struct  wdb_pipe_pnt
 
struct  rt_pipe_edit
 

Macros

#define RT_PIPE_CK_MAGIC(_p)   BU_CKMAG(_p, RT_PIPE_INTERNAL_MAGIC, "rt_pipe_internal")
 

Enumerations

enum  rt_pipe_vcode {
  RT_PIPE_V_ID_GE_OD = 1000 , RT_PIPE_V_BEND_LT_OR , RT_PIPE_V_BEND_OVERLAP_SEGMENT , RT_PIPE_V_LAST_SEGMENT_TOO_SHORT ,
  RT_PIPE_V_DEGENERATE_SEGMENT , RT_PIPE_V_NUM_POINTS_LT_2
}
 

Functions

void rt_vls_pipe_pnt (struct bu_vls *vp, int seg_no, const struct rt_db_internal *ip, double mm2local)
 
void rt_pipe_pnt_print (const struct wdb_pipe_pnt *pipe_pnt, double mm2local)
 
int rt_pipe_ck (const struct bu_list *headp)
 
int rt_pipe_validate (struct bu_ptbl *violations, const struct rt_pipe_internal *pip, int flags)
 
int rt_pipe_project_apply (struct rt_constraint_edit_result *out, struct rt_db_internal *ip, const struct rt_constraint_edit_op *op, const struct rt_constraint_edit_ctx *ctx)
 
int rt_pipe_get_i_seg (struct rt_pipe_internal *pipeip, struct wdb_pipe_pnt *ps)
 
struct wdb_pipe_pntrt_pipe_get_seg_i (struct rt_pipe_internal *pipeip, int seg_i)
 
int rt_pipe_move_pnt (struct rt_pipe_internal *pipeip, struct wdb_pipe_pnt *ps, const point_t new_pt)
 
struct wdb_pipe_pntrt_pipe_add_pnt (struct rt_pipe_internal *pipeip, struct wdb_pipe_pnt *pp, const point_t new_pt)
 
struct wdb_pipe_pntrt_pipe_delete_pnt (struct wdb_pipe_pnt *ps)
 
struct wdb_pipe_pntrt_pipe_ins_pnt (struct rt_pipe_internal *pipeip, struct wdb_pipe_pnt *pp, const point_t new_pt)
 
struct wdb_pipe_pntrt_pipe_find_pnt_nearest_pnt (const struct bu_list *pipe_hd, const point_t model_pt, matp_t view2model)
 

Detailed Description

Macro Definition Documentation

◆ RT_PIPE_CK_MAGIC

#define RT_PIPE_CK_MAGIC (   _p)    BU_CKMAG(_p, RT_PIPE_INTERNAL_MAGIC, "rt_pipe_internal")

Definition at line 433 of file geom.h.

Enumeration Type Documentation

◆ rt_pipe_vcode

Enumerator
RT_PIPE_V_ID_GE_OD 
RT_PIPE_V_BEND_LT_OR 
RT_PIPE_V_BEND_OVERLAP_SEGMENT 
RT_PIPE_V_LAST_SEGMENT_TOO_SHORT 
RT_PIPE_V_DEGENERATE_SEGMENT 
RT_PIPE_V_NUM_POINTS_LT_2 

Definition at line 42 of file pipe.h.

Function Documentation

◆ rt_vls_pipe_pnt()

void rt_vls_pipe_pnt ( struct bu_vls vp,
int  seg_no,
const struct rt_db_internal ip,
double  mm2local 
)
extern

◆ rt_pipe_pnt_print()

void rt_pipe_pnt_print ( const struct wdb_pipe_pnt pipe_pnt,
double  mm2local 
)
extern

◆ rt_pipe_ck()

int rt_pipe_ck ( const struct bu_list headp)
extern

◆ rt_pipe_validate()

int rt_pipe_validate ( struct bu_ptbl violations,
const struct rt_pipe_internal pip,
int  flags 
)
extern

◆ rt_pipe_project_apply()

int rt_pipe_project_apply ( struct rt_constraint_edit_result out,
struct rt_db_internal ip,
const struct rt_constraint_edit_op op,
const struct rt_constraint_edit_ctx ctx 
)
extern

◆ rt_pipe_get_i_seg()

int rt_pipe_get_i_seg ( struct rt_pipe_internal pipeip,
struct wdb_pipe_pnt ps 
)
extern

◆ rt_pipe_get_seg_i()

struct wdb_pipe_pnt * rt_pipe_get_seg_i ( struct rt_pipe_internal pipeip,
int  seg_i 
)
extern

◆ rt_pipe_move_pnt()

int rt_pipe_move_pnt ( struct rt_pipe_internal pipeip,
struct wdb_pipe_pnt ps,
const point_t  new_pt 
)
extern

◆ rt_pipe_add_pnt()

struct wdb_pipe_pnt * rt_pipe_add_pnt ( struct rt_pipe_internal pipeip,
struct wdb_pipe_pnt pp,
const point_t  new_pt 
)
extern

◆ rt_pipe_delete_pnt()

struct wdb_pipe_pnt * rt_pipe_delete_pnt ( struct wdb_pipe_pnt ps)
extern

◆ rt_pipe_ins_pnt()

struct wdb_pipe_pnt * rt_pipe_ins_pnt ( struct rt_pipe_internal pipeip,
struct wdb_pipe_pnt pp,
const point_t  new_pt 
)
extern

◆ rt_pipe_find_pnt_nearest_pnt()

struct wdb_pipe_pnt * rt_pipe_find_pnt_nearest_pnt ( const struct bu_list pipe_hd,
const point_t  model_pt,
matp_t  view2model 
)
extern