BRL-CAD

Write out information about NMG data as text. More...

Collaboration diagram for Printing:

Files

file  print.h
 

Macros

#define PLPRINT(_s, _pl)
 

Functions

char * nmg_orientation (int orientation)
 
void nmg_pr_orient (int orientation, const char *h)
 
void nmg_pr_m (const struct model *m)
 
void nmg_pr_r (const struct nmgregion *r, char *h)
 
void nmg_pr_sa (const struct shell_a *sa, char *h)
 
void nmg_pr_lg (const struct loop_a *lg, char *h)
 
void nmg_pr_fg (const uint32_t *magic, char *h)
 
void nmg_pr_s (const struct shell *s, char *h)
 
void nmg_pr_s_briefly (const struct shell *s, char *h)
 
void nmg_pr_f (const struct face *f, char *h)
 
void nmg_pr_fu (const struct faceuse *fu, char *h)
 
void nmg_pr_fu_briefly (const struct faceuse *fu, char *h)
 
void nmg_pr_l (const struct loop *l, char *h)
 
void nmg_pr_lu (const struct loopuse *lu, char *h)
 
void nmg_pr_lu_briefly (const struct loopuse *lu, char *h)
 
void nmg_pr_eg (const uint32_t *eg, char *h)
 
void nmg_pr_e (const struct edge *e, char *h)
 
void nmg_pr_eu (const struct edgeuse *eu, char *h)
 
void nmg_pr_eu_briefly (const struct edgeuse *eu, char *h)
 
void nmg_pr_eu_endpoints (const struct edgeuse *eu, char *h)
 
void nmg_pr_vg (const struct vertex_g *vg, char *h)
 
void nmg_pr_v (const struct vertex *v, char *h)
 
void nmg_pr_vu (const struct vertexuse *vu, char *h)
 
void nmg_pr_vu_briefly (const struct vertexuse *vu, char *h)
 
void nmg_pr_vua (const uint32_t *magic_p, char *h)
 
void nmg_euprint (const char *str, const struct edgeuse *eu)
 
void nmg_pr_ptbl (const char *title, const struct bu_ptbl *tbl, int verbose)
 
void nmg_pr_ptbl_vert_list (const char *str, const struct bu_ptbl *tbl, const fastf_t *mag)
 
void nmg_pr_one_eu_vecs (const struct edgeuse *eu, const vect_t xvec, const vect_t yvec, const vect_t zvec, const struct bn_tol *tol)
 
void nmg_pr_fu_around_eu_vecs (const struct edgeuse *eu, const vect_t xvec, const vect_t yvec, const vect_t zvec, const struct bn_tol *tol)
 
void nmg_pr_fu_around_eu (const struct edgeuse *eu, const struct bn_tol *tol)
 
void nmg_pl_lu_around_eu (const struct edgeuse *eu, struct bu_list *vlfree)
 
void nmg_pr_fus_in_fg (const uint32_t *fg_magic)
 
const char * nmg_rt_inout_str (int code)
 
void nmg_rt_print_hitlist (struct bu_list *hd)
 
void nmg_rt_print_hitmiss (struct nmg_hitmiss *a_hit)
 

Detailed Description

Write out information about NMG data as text.

Macro Definition Documentation

◆ PLPRINT

#define PLPRINT (   _s,
  _pl 
)
Value:
bu_log("%s %gx + %gy + %gz = %g\n", (_s), \
(_pl)[0], (_pl)[1], (_pl)[2], (_pl)[3])
int bu_log(const char *,...) _BU_ATTR_PRINTF12

Print a plane equation.

Definition at line 40 of file print.h.

Function Documentation

◆ nmg_orientation()

char * nmg_orientation ( int  orientation)

◆ nmg_pr_orient()

void nmg_pr_orient ( int  orientation,
const char *  h 
)

◆ nmg_pr_m()

void nmg_pr_m ( const struct model m)

◆ nmg_pr_r()

void nmg_pr_r ( const struct nmgregion r,
char *  h 
)

◆ nmg_pr_sa()

void nmg_pr_sa ( const struct shell_a sa,
char *  h 
)

◆ nmg_pr_lg()

void nmg_pr_lg ( const struct loop_a lg,
char *  h 
)

◆ nmg_pr_fg()

void nmg_pr_fg ( const uint32_t *  magic,
char *  h 
)

◆ nmg_pr_s()

void nmg_pr_s ( const struct shell s,
char *  h 
)

◆ nmg_pr_s_briefly()

void nmg_pr_s_briefly ( const struct shell s,
char *  h 
)

◆ nmg_pr_f()

void nmg_pr_f ( const struct face f,
char *  h 
)

◆ nmg_pr_fu()

void nmg_pr_fu ( const struct faceuse fu,
char *  h 
)

◆ nmg_pr_fu_briefly()

void nmg_pr_fu_briefly ( const struct faceuse fu,
char *  h 
)

◆ nmg_pr_l()

void nmg_pr_l ( const struct loop l,
char *  h 
)

◆ nmg_pr_lu()

void nmg_pr_lu ( const struct loopuse lu,
char *  h 
)

◆ nmg_pr_lu_briefly()

void nmg_pr_lu_briefly ( const struct loopuse lu,
char *  h 
)

◆ nmg_pr_eg()

void nmg_pr_eg ( const uint32_t *  eg,
char *  h 
)

◆ nmg_pr_e()

void nmg_pr_e ( const struct edge e,
char *  h 
)

◆ nmg_pr_eu()

void nmg_pr_eu ( const struct edgeuse eu,
char *  h 
)

◆ nmg_pr_eu_briefly()

void nmg_pr_eu_briefly ( const struct edgeuse eu,
char *  h 
)

◆ nmg_pr_eu_endpoints()

void nmg_pr_eu_endpoints ( const struct edgeuse eu,
char *  h 
)

◆ nmg_pr_vg()

void nmg_pr_vg ( const struct vertex_g vg,
char *  h 
)

◆ nmg_pr_v()

void nmg_pr_v ( const struct vertex v,
char *  h 
)

◆ nmg_pr_vu()

void nmg_pr_vu ( const struct vertexuse vu,
char *  h 
)

◆ nmg_pr_vu_briefly()

void nmg_pr_vu_briefly ( const struct vertexuse vu,
char *  h 
)

◆ nmg_pr_vua()

void nmg_pr_vua ( const uint32_t *  magic_p,
char *  h 
)

◆ nmg_euprint()

void nmg_euprint ( const char *  str,
const struct edgeuse eu 
)

◆ nmg_pr_ptbl()

void nmg_pr_ptbl ( const char *  title,
const struct bu_ptbl tbl,
int  verbose 
)

◆ nmg_pr_ptbl_vert_list()

void nmg_pr_ptbl_vert_list ( const char *  str,
const struct bu_ptbl tbl,
const fastf_t mag 
)

◆ nmg_pr_one_eu_vecs()

void nmg_pr_one_eu_vecs ( const struct edgeuse eu,
const vect_t  xvec,
const vect_t  yvec,
const vect_t  zvec,
const struct bn_tol tol 
)

◆ nmg_pr_fu_around_eu_vecs()

void nmg_pr_fu_around_eu_vecs ( const struct edgeuse eu,
const vect_t  xvec,
const vect_t  yvec,
const vect_t  zvec,
const struct bn_tol tol 
)

◆ nmg_pr_fu_around_eu()

void nmg_pr_fu_around_eu ( const struct edgeuse eu,
const struct bn_tol tol 
)

◆ nmg_pl_lu_around_eu()

void nmg_pl_lu_around_eu ( const struct edgeuse eu,
struct bu_list vlfree 
)

◆ nmg_pr_fus_in_fg()

void nmg_pr_fus_in_fg ( const uint32_t *  fg_magic)

◆ nmg_rt_inout_str()

const char * nmg_rt_inout_str ( int  code)

◆ nmg_rt_print_hitlist()

void nmg_rt_print_hitlist ( struct bu_list hd)

◆ nmg_rt_print_hitmiss()

void nmg_rt_print_hitmiss ( struct nmg_hitmiss a_hit)