19#if defined(__cplusplus)
75#if defined(__cplusplus)
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.
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.
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.
double a_real
compiler built-in floating-point number type
Definition a.h:1012
size_t a_size
unsigned integer type returned by the sizeof operator
Definition a.h:823
instance structure for two-dimensional point
Definition point2.h:185
instance structure for three-dimensional point
Definition point3.h:193
instance structure for two-dimensional vector
Definition vector2.h:315