BVH_utility.h File Reference
`#include "fcl/BVH/BVH_model.h"`
Include dependency graph for BVH_utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

namespace  fcl

Main namespace.

## Functions

template<typename BV >
void fcl::BVHExpand (BVHModel< BV > &model, const Variance3f *ucs, FCL_REAL r)
Expand the BVH bounding boxes according to the variance matrix corresponding to the data stored within each BV node.
void fcl::BVHExpand (BVHModel< OBB > &model, const Variance3f *ucs, FCL_REAL r)
Expand the BVH bounding boxes according to the corresponding variance information, for OBB.
void fcl::BVHExpand (BVHModel< RSS > &model, const Variance3f *ucs, FCL_REAL r)
Expand the BVH bounding boxes according to the corresponding variance information, for RSS.
void fcl::circumCircleComputation (const Vec3f &a, const Vec3f &b, const Vec3f &c, Vec3f &center, FCL_REAL &radius)
Compute the center and radius for a triangle's circumcircle.
void fcl::getCovariance (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, Matrix3f &M)
Compute the covariance matrix for a set or subset of points. if ts = null, then indices refer to points directly; otherwise refer to triangles.
void fcl::getExtentAndCenter (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, Vec3f axis[3], Vec3f &center, Vec3f &extent)
Compute the bounding volume extent and center for a set or subset of points, given the BV axises.
void fcl::getRadiusAndOriginAndRectangleSize (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, Vec3f axis[3], Vec3f &origin, FCL_REAL l[2], FCL_REAL &r)
Compute the RSS bounding volume parameters: radius, rectangle size and the origin, given the BV axises.
FCL_REAL fcl::maximumDistance (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, const Vec3f &query)
Compute the maximum distance from a given center point to a point cloud.

fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31