Package difar

Class DIFARCrossingInfo

java.lang.Object
difar.DIFARCrossingInfo

public class DIFARCrossingInfo extends Object
Author:
Doug Gillespie
  • Constructor Details

    • DIFARCrossingInfo

      public DIFARCrossingInfo(DifarDataUnit[] matchedUnits, TargetMotionResult difarCrossing)
    • DIFARCrossingInfo

      public DIFARCrossingInfo(DifarDataUnit[] matchedUnits, LatLong latLong, Double[] errors)
      Constructor to use when readin gback in binary data.
      Parameters:
      matchedUnits -
      latLong -
    • DIFARCrossingInfo

      public DIFARCrossingInfo(DifarDataUnit[] matchedUnits, LatLong latLong)
      Constructor to use when readin gback in binary data.
      Parameters:
      matchedUnits -
      latLong -
  • Method Details

    • setLocation

      public void setLocation(LatLong latLong)
    • getCrossLocation

      public LatLong getCrossLocation()
      Returns:
      the crossLocation
    • getMatchedUnits

      public DifarDataUnit[] getMatchedUnits()
      Returns:
      the matchedUnits
    • getNumberOfMatchedUnits

      public int getNumberOfMatchedUnits()
      matchedUnits.length will be equal to the number of channels regardless of whether they match so this method will return the number of non-null matching units (i.e. actual matches).
      Returns:
      The number of non-null matched units
    • getXyz

      public PamVector getXyz()
      Returns:
      the xyz
    • getErrors

      public Double[] getErrors()
      Returns:
      the errors