GF_BBox Struct Reference
[math3d]

3D Bounding Box More...

#include <gpac/math.h>

List of all members.

Public Attributes

GF_Vec min_edge
GF_Vec max_edge
GF_Vec center
Fixed radius
Bool is_set


Detailed Description

The 3D Bounding Box is a 3D Axis-Aligned Bounding Box used to in various tools of the GPAC framework for bounds estimation of a 3D object. It features an axis-aligned box and a sphere bounding volume for fast intersection tests.


Member Data Documentation

GF_Vec GF_BBox::min_edge

minimum x, y, and z of the object

GF_Vec GF_BBox::max_edge

maximum x, y, and z of the object

GF_Vec GF_BBox::center

center of the bounding box.

Note:
this is computed from min_edge and max_edge

Fixed GF_BBox::radius

radius of the bounding sphere for this box.

Note:
this is computed from min_edge and max_edge

Bool GF_BBox::is_set

the bbox center and radius are valid


The documentation for this struct was generated from the following file:
Generated on Sun Nov 29 14:39:31 2009 for libgpac by  doxygen 1.4.7