liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
bounding.h File Reference

bounding volume More...

#include "point2.h"
#include "point3.h"
Include dependency graph for bounding.h:

Go to the source code of this file.

Functions

int a_bounding_box2 (a_point2 const *i_p, a_size i_n, a_real *xmin, a_real *xmax, a_real *ymin, a_real *ymax)
 compute the axis-aligned bounding box (AABB) for a set of 2D points.
int a_bounding_box3 (a_point3 const *i_p, a_size i_n, a_real *xmin, a_real *xmax, a_real *ymin, a_real *ymax, a_real *zmin, a_real *zmax)
 compute the axis-aligned bounding box (AABB) for a set of 3D points.
a_size a_bounding_obb2 (a_point2 *i_p, a_size i_n, a_point2 *o_p, a_size o_n, a_point2 *o, a_vector2 *u, a_vector2 *v, a_real *umax, a_real *vmax)
 compute the minimum area Oriented Bounding Box (OBB) for a set of 2D points.

Detailed Description