44 #define BV_POLYGON_GENERAL 0
45 #define BV_POLYGON_CIRCLE 1
46 #define BV_POLYGON_ELLIPSE 2
47 #define BV_POLYGON_RECTANGLE 3
48 #define BV_POLYGON_SQUARE 4
83 #define BV_POLYGON_UPDATE_DEFAULT 0
84 #define BV_POLYGON_UPDATE_PROPS_ONLY 1
85 #define BV_POLYGON_UPDATE_PT_SELECT 2
86 #define BV_POLYGON_UPDATE_PT_SELECT_CLEAR 3
87 #define BV_POLYGON_UPDATE_PT_MOVE 4
88 #define BV_POLYGON_UPDATE_PT_APPEND 5
Header file for the BRL-CAD common definitions.
bg_clip_t
Functions for working with polygons.
int bv_polygon_csg(struct bv_scene_obj *target, struct bv_scene_obj *stencil, bg_clip_t op)
struct bv_scene_obj * bv_dup_view_polygon(const char *nname, struct bv_scene_obj *s)
void bv_polygon_cpy(struct bv_polygon *dest, struct bv_polygon *src)
void bv_polygon_vlist(struct bv_scene_obj *s)
struct bv_scene_obj * bv_create_polygon(struct bview *v, int flags, int type, point_t *fp)
int bv_move_polygon(struct bv_scene_obj *s, point_t *cp, point_t *pp)
struct bg_polygon * bv_polygon_fill_segments(struct bg_polygon *poly, plane_t *vp, vect2d_t line_slope, fastf_t line_spacing)
int bv_update_polygon(struct bv_scene_obj *s, struct bview *v, int utype)
struct bv_scene_obj * bv_create_polygon_obj(struct bview *v, int flags, struct bv_polygon *p)
int bv_polygon_calc_fdelta(struct bv_polygon *p)
struct bv_scene_obj * bv_select_polygon(struct bu_ptbl *objs, point_t *cp)
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t plane_t[ELEMENTS_PER_PLANE]
Definition of a plane equation.
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
fastf_t vect2d_t[ELEMENTS_PER_VECT2D]
2-tuple vector
struct bg_polygon polygon
struct bu_color fill_color
fundamental vector, matrix, quaternion math macros