#include <NavCone.h>
Public Member Functions | |
void | addVolume (const NavVolume *vol, const Bounds *bounds, SurfaceOrientation::Side side) override |
NavVolumes are supposed to call this method to "register" with the NavSurface. More... | |
const Bounds * | bounds (const NavVolume *vol) override |
Bounds corresponding to a NavVolume if present. More... | |
std::pair< bool, double > | distanceAlongLine (const NavSurface::GlobalPoint &pos, const NavSurface::GlobalVector &dir) const override |
NavCone (const Cone *cone) | |
const NavVolume * | nextVolume (const NavSurface::LocalPoint &point, SurfaceOrientation::Side side) const override |
TrajectoryStateOnSurface | propagate (const Propagator &prop, const TrajectoryStateOnSurface &startingState) const override |
hook for double dispatch to avoid propagation to generic surface. More... | |
NavSurface::TSOSwithPath | propagateWithPath (const Propagator &prop, const TrajectoryStateOnSurface &startingState) const override |
hook for double dispatch to avoid propagation to generic surface. More... | |
const Surface & | surface () const override |
Access to actual surface. More... | |
Public Member Functions inherited from NavSurface | |
GlobalPoint | toGlobal (const LocalPoint &p) const |
GlobalVector | toGlobal (const LocalVector &p) const |
LocalPoint | toLocal (const GlobalPoint &p) const |
Forwarding of part of surface interface for convenience. More... | |
LocalVector | toLocal (const GlobalVector &p) const |
~NavSurface () override | |
Public Member Functions inherited from BasicReferenceCounted | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (const BasicReferenceCounted &) | |
BasicReferenceCounted (BasicReferenceCounted &&)=default | |
BasicReferenceCounted & | operator= (BasicReferenceCounted &&)=default |
BasicReferenceCounted & | operator= (const BasicReferenceCounted &) |
unsigned int | references () const |
void | removeReference () const |
virtual | ~BasicReferenceCounted () |
Private Attributes | |
LinearSearchNavSurfaceImpl | theImpl |
ConstReferenceCountingPointer< Cone > | theSurfaceP |
Additional Inherited Members | |
Public Types inherited from NavSurface | |
typedef Surface::GlobalPoint | GlobalPoint |
typedef Surface::GlobalVector | GlobalVector |
typedef Surface::LocalPoint | LocalPoint |
typedef Surface::LocalVector | LocalVector |
typedef std::pair< TrajectoryStateOnSurface, double > | TSOSwithPath |
|
inlineoverridevirtual |
NavVolumes are supposed to call this method to "register" with the NavSurface.
Implements NavSurface.
Definition at line 38 of file NavCone.h.
References LinearSearchNavSurfaceImpl::addVolume(), dir, distanceAlongLine(), and theImpl.
Bounds corresponding to a NavVolume if present.
Implements NavSurface.
Definition at line 36 of file NavCone.h.
References LinearSearchNavSurfaceImpl::bounds(), and theImpl.
|
overridevirtual |
Distance to surface from point pos along line dir. If the half-line does not cross the surface the returned value is (false,undefined), otherwise the returned value is (true,distance)
Implements NavSurface.
Definition at line 27 of file NavCone.cc.
Referenced by addVolume().
|
inlineoverridevirtual |
Implements NavSurface.
Definition at line 25 of file NavCone.h.
References LinearSearchNavSurfaceImpl::nextVolume(), propagate(), propagateWithPath(), and theImpl.
|
overridevirtual |
hook for double dispatch to avoid propagation to generic surface.
Implements NavSurface.
Definition at line 7 of file NavCone.cc.
References Propagator::propagate(), and theSurfaceP.
Referenced by nextVolume().
|
overridevirtual |
hook for double dispatch to avoid propagation to generic surface.
Implements NavSurface.
Definition at line 14 of file NavCone.cc.
References Propagator::propagateWithPath(), and theSurfaceP.
Referenced by nextVolume().
|
inlineoverridevirtual |
Access to actual surface.
Implements NavSurface.
Definition at line 23 of file NavCone.h.
References theSurfaceP.
|
private |
Definition at line 49 of file NavCone.h.
Referenced by addVolume(), bounds(), and nextVolume().
|
private |
Definition at line 48 of file NavCone.h.
Referenced by propagate(), propagateWithPath(), and surface().