#include <LinearSearchNavSurfaceImpl.h>
Public Member Functions | |
void | addVolume (const NavVolume *vol, const Bounds *bounds, SurfaceOrientation::Side side) |
const Bounds * | bounds (const NavVolume *vol) |
const NavVolume * | nextVolume (const NavSurface::LocalPoint &point, SurfaceOrientation::Side side) const |
Private Types | |
typedef std::pair< const NavVolume *, const Bounds * > | VolumeAndBounds |
typedef std::vector < VolumeAndBounds > | VolumeContainer |
Private Member Functions | |
const NavVolume * | findVolume (const NavSurface::LocalPoint &point, const VolumeContainer &volumes) const |
Private Attributes | |
VolumeContainer | theNegVolumes |
VolumeContainer | thePosVolumes |
Definition at line 10 of file LinearSearchNavSurfaceImpl.h.
|
private |
Definition at line 23 of file LinearSearchNavSurfaceImpl.h.
|
private |
Definition at line 24 of file LinearSearchNavSurfaceImpl.h.
void LinearSearchNavSurfaceImpl::addVolume | ( | const NavVolume * | vol, |
const Bounds * | bounds, | ||
SurfaceOrientation::Side | side | ||
) |
Definition at line 41 of file LinearSearchNavSurfaceImpl.cc.
References Bounds::clone(), SurfaceOrientation::positiveSide, theNegVolumes, and thePosVolumes.
Referenced by NavCylinder::addVolume(), NavCone::addVolume(), and NavPlane::addVolume().
Definition at line 30 of file LinearSearchNavSurfaceImpl.cc.
References i, theNegVolumes, and thePosVolumes.
Referenced by NavCylinder::bounds(), NavCone::bounds(), and NavPlane::bounds().
|
private |
Definition at line 16 of file LinearSearchNavSurfaceImpl.cc.
References i.
Referenced by nextVolume().
const NavVolume * LinearSearchNavSurfaceImpl::nextVolume | ( | const NavSurface::LocalPoint & | point, |
SurfaceOrientation::Side | side | ||
) | const |
Definition at line 4 of file LinearSearchNavSurfaceImpl.cc.
References findVolume(), SurfaceOrientation::negativeSide, SurfaceOrientation::positiveSide, theNegVolumes, and thePosVolumes.
Referenced by NavCylinder::nextVolume(), NavCone::nextVolume(), and NavPlane::nextVolume().
|
private |
Definition at line 27 of file LinearSearchNavSurfaceImpl.h.
Referenced by addVolume(), bounds(), and nextVolume().
|
private |
Definition at line 26 of file LinearSearchNavSurfaceImpl.h.
Referenced by addVolume(), bounds(), and nextVolume().