#include "fcl/BVH/BVH_utility.h"
Go to the source code of this file.
Namespaces | |
namespace | fcl |
Main namespace. | |
Functions | |
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 ¢er, 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 ¢er, Vec3f &extent) |
Compute the bounding volume extent and center for a set or subset of points, given the BV axises. | |
static void | fcl::getExtentAndCenter_mesh (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, Vec3f axis[3], Vec3f ¢er, Vec3f &extent) |
Compute the bounding volume extent and center for a set or subset of points. The bounding volume axes are known. | |
static void | fcl::getExtentAndCenter_pointcloud (Vec3f *ps, Vec3f *ps2, unsigned int *indices, int n, Vec3f axis[3], Vec3f ¢er, Vec3f &extent) |
Compute the bounding volume extent and center for a set or subset of points. The bounding volume axes are known. | |
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. | |
static FCL_REAL | fcl::maximumDistance_mesh (Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, int n, const Vec3f &query) |
static FCL_REAL | fcl::maximumDistance_pointcloud (Vec3f *ps, Vec3f *ps2, unsigned int *indices, int n, const Vec3f &query) |