BRL-CAD
|
Files | |
file | metaball.h |
Data Structures | |
struct | rt_metaball_internal |
struct | wdb_metaball_pnt |
Macros | |
#define | RT_METABALL_CK_MAGIC(_p) BU_CKMAG(_p, RT_METABALL_INTERNAL_MAGIC, "rt_metaball_internal") |
#define | WDB_METABALLPT_TYPE_POINT 0x0 |
#define | WDB_METABALLPT_TYPE_LINE 0x1 |
#define | WDB_METABALL_PNT_NULL ((struct wdb_metaball_pnt *)0) |
Functions | |
void | rt_vls_metaball_pnt (struct bu_vls *vp, const int pt_no, const struct rt_db_internal *ip, const double mm2local) |
void | rt_metaball_pnt_print (const struct wdb_metaball_pnt *metaball, double mm2local) |
int | rt_metaball_ck (const struct bu_list *headp) |
fastf_t | rt_metaball_point_value (const point_t *p, const struct rt_metaball_internal *mb) |
int | rt_metaball_point_inside (const point_t *p, const struct rt_metaball_internal *mb) |
int | rt_metaball_lookup_type_id (const char *name) |
const char * | rt_metaball_lookup_type_name (const int id) |
int | rt_metaball_add_point (struct rt_metaball_internal *, const point_t *loc, const fastf_t fldstr, const fastf_t goo) |
#define RT_METABALL_CK_MAGIC | ( | _p | ) | BU_CKMAG(_p, RT_METABALL_INTERNAL_MAGIC, "rt_metaball_internal") |
#define WDB_METABALL_PNT_NULL ((struct wdb_metaball_pnt *)0) |
void rt_vls_metaball_pnt | ( | struct bu_vls * | vp, |
const int | pt_no, | ||
const struct rt_db_internal * | ip, | ||
const double | mm2local | ||
) |
void rt_metaball_pnt_print | ( | const struct wdb_metaball_pnt * | metaball, |
double | mm2local | ||
) |
int rt_metaball_ck | ( | const struct bu_list * | headp | ) |
fastf_t rt_metaball_point_value | ( | const point_t * | p, |
const struct rt_metaball_internal * | mb | ||
) |
int rt_metaball_point_inside | ( | const point_t * | p, |
const struct rt_metaball_internal * | mb | ||
) |
int rt_metaball_lookup_type_id | ( | const char * | name | ) |
const char * rt_metaball_lookup_type_name | ( | const int | id | ) |
int rt_metaball_add_point | ( | struct rt_metaball_internal * | , |
const point_t * | loc, | ||
const fastf_t | fldstr, | ||
const fastf_t | goo | ||
) |