Go to the source code of this file.
Functions | |
double | bboxDistanceApp (const BoundingBox &bb1, const BoundingBox &bb2) |
double | bboxDistanceSq (const BoundingBox &bb1, const BoundingBox &bb2, const transf &tran2To1) |
bool | bboxOverlap (const BoundingBox &bb1, const BoundingBox &bb2, const transf &tran2To1) |
position | closestPtBbox (const BoundingBox &bbox, const position &p) |
double | pointBoxDistanceSq (const BoundingBox &box, const position &p) |
Bounding box functions to be inlined during release compilation. Do not put any of the necessary includes here, put them in both bbox.h and bbox.cpp instead.
Definition in file bbox_inl.h.
double bboxDistanceApp | ( | const BoundingBox & | bb1, | |
const BoundingBox & | bb2 | |||
) |
Definition at line 256 of file bbox_inl.h.
double bboxDistanceSq | ( | const BoundingBox & | bb1, | |
const BoundingBox & | bb2, | |||
const transf & | tran2To1 | |||
) |
Definition at line 268 of file bbox_inl.h.
bool bboxOverlap | ( | const BoundingBox & | bb1, | |
const BoundingBox & | bb2, | |||
const transf & | tran2To1 | |||
) |
Definition at line 87 of file bbox_inl.h.
position closestPtBbox | ( | const BoundingBox & | bbox, | |
const position & | p | |||
) |
Code from REAL-TIME COLLISION DETECTION by Christer Ericson, published by Elsevier.
Definition at line 58 of file bbox_inl.h.
double pointBoxDistanceSq | ( | const BoundingBox & | box, | |
const position & | p | |||
) |
Definition at line 33 of file bbox_inl.h.