Open CASCADE Technology
7.4.0
|
Defines a set of static methods operating with points and bounding boxes. More...
#include <BVH_Tools.hxx>
Public Types | |
public types | |
typedef BVH::VectorType< T, N >::Type | BVH_VecNt |
Static Public Member Functions | |
Box-Box Square distance | |
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... | |
Point-Box Square distance | |
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... | |
Point-Triangle Square distance | |
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... | |
Defines a set of static methods operating with points and bounding boxes.
T | Numeric data type |
N | Vector dimension |
typedef BVH::VectorType<T, N>::Type BVH_Tools< T, N >::BVH_VecNt |
|
inlinestatic |
Computes Square distance between Axis aligned bounding boxes.
|
inlinestatic |
Computes Square distance between Axis aligned bounding boxes.
|
inlinestatic |
Computes square distance between point and bounding box.
|
inlinestatic |
Computes square distance between point and bounding box.
|
inlinestatic |
Computes square distance between point and triangle.