Header file for the BRL-CAD common definitions.
int bg_3d_obb(point_t **pnts, const point_t *points_3d, int pnt_cnt)
Find the minimum oriented bounding rectangular cuboid for a set of 3D points. Returns 0 on success.
int bg_2d_obr(point2d_t *center, vect2d_t *u, vect2d_t *v, const point2d_t *points_2d, int pnt_cnt)
Routines for the computation of oriented bounding rectangles 2D and 3D.
int bg_3d_coplanar_obr(point_t *center, vect_t *v1, vect_t *v2, const point_t *points_3d, int pnt_cnt)
Uses the Rotating Calipers algorithm to find the minimum oriented bounding rectangle for a set of cop...
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
fastf_t point2d_t[ELEMENTS_PER_POINT2D]
2-tuple point
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
fastf_t vect2d_t[ELEMENTS_PER_VECT2D]
2-tuple vector
fundamental vector, matrix, quaternion math macros