BRL-CAD
obr.h File Reference
#include "common.h"
#include "vmath.h"
#include "bg/defines.h"
Include dependency graph for obr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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. More...
 
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 coplanar 3D points. Returns 0 on success. More...
 
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. More...