src/ufo/filters/TrackCheckShip.cc
void TrackCheckShip::TrackObservation::calculateTwoObservationValues(
    TrackObservation& prevObs, bool firstIteration,
    const TrackCheckShipParameters &options) {
  this->setDistance(TrackCheckShip::distance(prevObs, *this));
  (this->observationStatistics_.distance > options.core.spatialResolution) ?
        this->setSpeed(TrackCheckShip::speedEstimate(*this, prevObs, options)) :
        this->setSpeed(0.0);
  this->setTimeDifference(getTime() - prevObs.getTime());
  if (firstIteration) {
    adjustTwoObservationStatistics(options);
  }
}
/// \brief Calculates all of the statistics that require only two
/// adjacent \p TrackObservations, storing within the righthand observation.
///
/// This includes
/// distance between the two observations,
/// time difference between the observations, speed between the
/// observations, and if the
/// observations are recorded for the same time. Calls function to
/// increment track-wise counters based on
/// results.
\brief Calculates all of the statistics that require only two
adjacent \p TrackObservations, storing within the righthand observation.

This includes
distance between the two observations,
time difference between the observations, speed between the
observations, and if the
observations are recorded for the same time. Calls function to
increment track-wise counters based on
results.
\ brief Calculates all of the statistics that require only two adjacent \ p TrackObservations storing within the righthand observation . This includes distance between the two observations time difference between the observations speed between the observations and if the observations are recorded for the same time . Calls function to increment track - wise counters based on results .
void TrackCheckShip::TrackObservation::calculateTwoObservationValues(
    TrackObservation& prevObs, bool firstIteration,
    const TrackCheckShipParameters &options) {
  this->setDistance(TrackCheckShip::distance(prevObs, *this));
  (this->observationStatistics_.distance > options.core.spatialResolution) ?
        this->setSpeed(TrackCheckShip::speedEstimate(*this, prevObs, options)) :
        this->setSpeed(0.0);
  this->setTimeDifference(getTime() - prevObs.getTime());
  if (firstIteration) {
    adjustTwoObservationStatistics(options);
  }
}
void TrackCheckShip :: TrackObservation :: calculateTwoObservationValues ( TrackObservation & prevObs , bool firstIteration , const TrackCheckShipParameters & options ) { this -> setDistance ( TrackCheckShip :: distance ( prevObs , * this ) ) ; ( this -> observationStatistics_ . distance > options . core . spatialResolution ) ? this -> setSpeed ( TrackCheckShip :: speedEstimate ( * this , prevObs , options ) ) : this -> setSpeed ( 0.0 ) ; this -> setTimeDifference ( getTime ( ) - prevObs . getTime ( ) ) ; if ( firstIteration ) { adjustTwoObservationStatistics ( options ) ; } }
\brief Calculates all of the statistics that require only two
adjacent \p TrackObservations, storing within the righthand observation.
\ brief Calculates all of the statistics that require only two adjacent \ p TrackObservations storing within the righthand observation .