#include <NavSurface.h>
Public Types | |
typedef Surface::GlobalPoint | GlobalPoint |
typedef Surface::GlobalVector | GlobalVector |
typedef Surface::LocalPoint | LocalPoint |
typedef Surface::LocalVector | LocalVector |
typedef std::pair< TrajectoryStateOnSurface, double > | TSOSwithPath |
Public Member Functions | |
virtual void | addVolume (const NavVolume *vol, const Bounds *bounds, SurfaceOrientation::Side side)=0 |
NavVolumes are supposed to call this method to "register" with the NavSurface. More... | |
virtual const Bounds * | bounds (const NavVolume *vol)=0 |
Bounds corresponding to a NavVolume if present. More... | |
virtual std::pair< bool, double > | distanceAlongLine (const GlobalPoint &pos, const GlobalVector &dir) const =0 |
virtual const NavVolume * | nextVolume (const LocalPoint &point, SurfaceOrientation::Side side) const =0 |
virtual TrajectoryStateOnSurface | propagate (const Propagator &prop, const TrajectoryStateOnSurface &startingState) const =0 |
hook for double dispatch to avoid propagation to generic surface. More... | |
virtual TSOSwithPath | propagateWithPath (const Propagator &prop, const TrajectoryStateOnSurface &startingState) const =0 |
hook for double dispatch to avoid propagation to generic surface. More... | |
virtual const Surface & | surface () const =0 |
Access to actual surface. More... | |
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 () |
Definition at line 16 of file NavSurface.h.
Definition at line 24 of file NavSurface.h.
Definition at line 25 of file NavSurface.h.
Definition at line 22 of file NavSurface.h.
Definition at line 23 of file NavSurface.h.
typedef std::pair<TrajectoryStateOnSurface,double> NavSurface::TSOSwithPath |
Definition at line 26 of file NavSurface.h.
|
inlineoverride |
Definition at line 28 of file NavSurface.h.
References addVolume(), bounds(), dir, distanceAlongLine(), nextVolume(), point, propagate(), propagateWithPath(), and surface().
|
pure virtual |
NavVolumes are supposed to call this method to "register" with the NavSurface.
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by NavVolume6Faces::computeBounds(), and ~NavSurface().
Bounds corresponding to a NavVolume if present.
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by NavVolume6Faces::computeBounds(), and ~NavSurface().
|
pure virtual |
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)
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by ~NavSurface().
|
pure virtual |
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by ~NavSurface().
|
pure virtual |
hook for double dispatch to avoid propagation to generic surface.
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by ~NavSurface().
|
pure virtual |
hook for double dispatch to avoid propagation to generic surface.
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by ~NavSurface().
|
pure virtual |
Access to actual surface.
Implemented in NavPlane, NavCone, and NavCylinder.
Referenced by NavVolume6Faces::computeBounds(), toGlobal(), toLocal(), and ~NavSurface().
|
inline |
Definition at line 61 of file NavSurface.h.
References surface(), and Surface::toGlobal().
|
inline |
Definition at line 62 of file NavSurface.h.
References surface(), and Surface::toGlobal().
|
inline |
Forwarding of part of surface interface for convenience.
Definition at line 59 of file NavSurface.h.
References surface(), and GloballyPositioned< T >::toLocal().
Referenced by NavCylinder::distanceAlongLine().
|
inline |
Definition at line 60 of file NavSurface.h.
References surface(), and GloballyPositioned< T >::toLocal().