It is an interpolation function the estimates the nearest geometry at a given non-observed time of a trajectory. More...
#include <NearestGeometryAtTimeInterp.h>
Public Member Functions | |
std::auto_ptr< te::gm::Geometry > | estimate (const Trajectory &tj, te::dt::DateTime *time) const |
It estimates a geometry of a trajectory at a given non-observed time . More... | |
te::common::AbstractParameters * | getParams () |
It gets the parameters associated to the interpolator. More... | |
void | setParams (te::common::AbstractParameters *p) |
It sets the parameters associated to the interpolator. More... | |
virtual | ~NearestGeometryAtTimeInterp () |
Virtual destructor. More... | |
Static Public Member Functions | |
static NearestGeometryAtTimeInterp & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
NearestGeometryAtTimeInterp () | |
Constructor. More... | |
Friends | |
class | te::common::Singleton< NearestGeometryAtTimeInterp > |
It is an interpolation function the estimates the nearest geometry at a given non-observed time of a trajectory.
Definition at line 50 of file NearestGeometryAtTimeInterp.h.
|
virtual |
Virtual destructor.
Definition at line 40 of file NearestGeometryAtTimeInterp.cpp.
|
protected |
Constructor.
Definition at line 36 of file NearestGeometryAtTimeInterp.cpp.
|
virtual |
It estimates a geometry of a trajectory at a given non-observed time .
tj | A trajectory used in the estimation. |
time | The given non-observed time. |
Implements te::st::AbstractTrajectoryInterp.
Definition at line 45 of file NearestGeometryAtTimeInterp.cpp.
References te::dt::AbstractData::clone(), te::dt::GetDistance(), and te::st::Trajectory::getObservations().
|
staticinherited |
It returns a reference to the singleton instance.
Referenced by te::st::TrajectoryDataSet::getTrajectory().
|
inlinevirtual |
It gets the parameters associated to the interpolator.
Implements te::st::AbstractTrajectoryInterp.
Definition at line 56 of file NearestGeometryAtTimeInterp.h.
|
inlinevirtual |
It sets the parameters associated to the interpolator.
p | The parameters to be associated to the interpolator. |
Implements te::st::AbstractTrajectoryInterp.
Definition at line 58 of file NearestGeometryAtTimeInterp.h.
|
friend |
Definition at line 52 of file NearestGeometryAtTimeInterp.h.