BRL-CAD
Collaboration diagram for Sketch:

Files

file  sketch.h
 

Data Structures

struct  rt_curve
 
struct  line_seg
 line segment More...
 
struct  carc_seg
 circular arc segment More...
 
struct  nurb_seg
 NURB curve segment. More...
 
struct  bezier_seg
 Bezier curve segment. More...
 
struct  rt_sketch_internal
 

Macros

#define SKETCH_NAME_LEN   16
 
#define RT_SKETCH_CK_MAGIC(_p)   BU_CKMAG(_p, RT_SKETCH_INTERNAL_MAGIC, "rt_sketch_internal")
 

Functions

int curve_to_vlist (struct bu_list *vlfree, struct bu_list *vhead, const struct bg_tess_tol *ttol, point_t V, vect_t u_vec, vect_t v_vec, struct rt_sketch_internal *sketch_ip, struct rt_curve *crv)
 
int rt_check_curve (const struct rt_curve *crv, const struct rt_sketch_internal *skt, int noisy)
 
void rt_curve_reverse_segment (uint32_t *lng)
 
void rt_curve_order_segments (struct rt_curve *crv)
 
void rt_copy_curve (struct rt_curve *crv_out, const struct rt_curve *crv_in)
 
void rt_curve_free (struct rt_curve *crv)
 
struct rt_sketch_internalrt_copy_sketch (const struct rt_sketch_internal *sketch_ip)
 
int curve_to_tcl_list (struct bu_vls *vls, struct rt_curve *crv)
 
struct bv_scene_objdb_sketch_to_scene_obj (const char *sname, struct db_i *dbip, struct directory *dp, struct bview *sv)
 
struct directorydb_scene_obj_to_sketch (struct db_i *dbip, const char *sname, struct bv_scene_obj *s)
 

Detailed Description

Macro Definition Documentation

◆ SKETCH_NAME_LEN

#define SKETCH_NAME_LEN   16

Definition at line 655 of file geom.h.

◆ RT_SKETCH_CK_MAGIC

#define RT_SKETCH_CK_MAGIC (   _p)    BU_CKMAG(_p, RT_SKETCH_INTERNAL_MAGIC, "rt_sketch_internal")

Definition at line 673 of file geom.h.

Function Documentation

◆ curve_to_vlist()

int curve_to_vlist ( struct bu_list vlfree,
struct bu_list vhead,
const struct bg_tess_tol ttol,
point_t  V,
vect_t  u_vec,
vect_t  v_vec,
struct rt_sketch_internal sketch_ip,
struct rt_curve crv 
)

◆ rt_check_curve()

int rt_check_curve ( const struct rt_curve crv,
const struct rt_sketch_internal skt,
int  noisy 
)

◆ rt_curve_reverse_segment()

void rt_curve_reverse_segment ( uint32_t *  lng)

◆ rt_curve_order_segments()

void rt_curve_order_segments ( struct rt_curve crv)

◆ rt_copy_curve()

void rt_copy_curve ( struct rt_curve crv_out,
const struct rt_curve crv_in 
)

◆ rt_curve_free()

void rt_curve_free ( struct rt_curve crv)

◆ rt_copy_sketch()

struct rt_sketch_internal * rt_copy_sketch ( const struct rt_sketch_internal sketch_ip)

◆ curve_to_tcl_list()

int curve_to_tcl_list ( struct bu_vls vls,
struct rt_curve crv 
)

◆ db_sketch_to_scene_obj()

struct bv_scene_obj * db_sketch_to_scene_obj ( const char *  sname,
struct db_i dbip,
struct directory dp,
struct bview sv 
)

◆ db_scene_obj_to_sketch()

struct directory * db_scene_obj_to_sketch ( struct db_i dbip,
const char *  sname,
struct bv_scene_obj s 
)