|
|
static T | BoxBoxSquareDistance (const BVH_Box< T, N > &theBox1, const BVH_Box< T, N > &theBox2) |
| Computes Square distance between Axis aligned bounding boxes. More...
|
|
static T | BoxBoxSquareDistance (const BVH_VecNt &theCMin1, const BVH_VecNt &theCMax1, const BVH_VecNt &theCMin2, const BVH_VecNt &theCMax2) |
| Computes Square distance between Axis aligned bounding boxes. More...
|
|
|
static T | PointBoxSquareDistance (const BVH_VecNt &thePoint, const BVH_Box< T, N > &theBox) |
| Computes square distance between point and bounding box. More...
|
|
static T | PointBoxSquareDistance (const BVH_VecNt &thePoint, const BVH_VecNt &theCMin, const BVH_VecNt &theCMax) |
| Computes square distance between point and bounding box. More...
|
|
|
static BVH_VecNt | PointBoxProjection (const BVH_VecNt &thePoint, const BVH_Box< T, N > &theBox) |
| Computes projection of point on bounding box. More...
|
|
static BVH_VecNt | PointBoxProjection (const BVH_VecNt &thePoint, const BVH_VecNt &theCMin, const BVH_VecNt &theCMax) |
| Computes projection of point on bounding box. More...
|
|
|
static T | PointTriangleSquareDistance (const BVH_VecNt &thePoint, const BVH_VecNt &theNode0, const BVH_VecNt &theNode1, const BVH_VecNt &theNode2) |
| Computes square distance between point and triangle. More...
|
|
|
static Standard_Boolean | RayBoxIntersection (const BVH_Ray< T, N > &theRay, const BVH_Box< T, N > &theBox, T &theTimeEnter, T &theTimeLeave) |
| Computes hit time of ray-box intersection. More...
|
|
static Standard_Boolean | RayBoxIntersection (const BVH_Ray< T, N > &theRay, const BVH_VecNt &theBoxCMin, const BVH_VecNt &theBoxCMax, T &theTimeEnter, T &theTimeLeave) |
| Computes hit time of ray-box intersection. More...
|
|
static Standard_Boolean | RayBoxIntersection (const BVH_VecNt &theRayOrigin, const BVH_VecNt &theRayDirection, const BVH_Box< T, N > &theBox, T &theTimeEnter, T &theTimeLeave) |
| Computes hit time of ray-box intersection. More...
|
|
static Standard_Boolean | RayBoxIntersection (const BVH_VecNt &theRayOrigin, const BVH_VecNt &theRayDirection, const BVH_VecNt &theBoxCMin, const BVH_VecNt &theBoxCMax, T &theTimeEnter, T &theTimeLeave) |
| Computes hit time of ray-box intersection. More...
|
|
template<class T, int N>
class BVH_Tools< T, N >
Defines a set of static methods operating with points and bounding boxes.
- Template Parameters
-
T | Numeric data type |
N | Vector dimension |