#include <BVHTree.h>
inet::BVHTree::AxisComparator::AxisComparator |
( |
char |
axis | ) |
|
|
inline |
char axis
Definition: BVHTree.h:66
74 case 'X':
return leftPos.
x < rightPos.x;
75 case 'Y':
return leftPos.y < rightPos.y;
76 case 'Z':
return leftPos.z < rightPos.z;
77 default:
throw cRuntimeError(
"Unknown axis");
char axis
Definition: BVHTree.h:66
virtual Coord computeBoundingBoxSize() const =0
Computes the 3 dimensional size of the shapes's bounding box.
virtual const Coord & getPosition() const =0
virtual const ShapeBase * getShape() const =0
double x
Definition: Coord.h:49
char inet::BVHTree::AxisComparator::axis |
The documentation for this struct was generated from the following file: