BRL-CAD
Loading...
Searching...
No Matches
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  seg_knot_vector
 
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 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)
 
struct bv_scene_objdb_sketch_to_scene_obj (const char *sname, struct db_i *dbip, struct directory *dp, struct bview *sv, int flags)
 
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 671 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 689 of file geom.h.

Function Documentation

◆ rt_check_curve()

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

◆ rt_curve_reverse_segment()

void rt_curve_reverse_segment ( uint32_t lng)
extern

◆ rt_curve_order_segments()

void rt_curve_order_segments ( struct rt_curve crv)
extern

◆ rt_copy_curve()

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

◆ rt_curve_free()

void rt_curve_free ( struct rt_curve crv)
extern

◆ rt_copy_sketch()

struct rt_sketch_internal * rt_copy_sketch ( const struct rt_sketch_internal sketch_ip)
extern

◆ 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,
int  flags 
)
extern

◆ db_scene_obj_to_sketch()

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