Package difar
Class DIFARCrossingInfo
java.lang.Object
difar.DIFARCrossingInfo
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionDIFARCrossingInfo
(DifarDataUnit[] matchedUnits, LatLong latLong) Constructor to use when readin gback in binary data.DIFARCrossingInfo
(DifarDataUnit[] matchedUnits, LatLong latLong, Double[] errors) Constructor to use when readin gback in binary data.DIFARCrossingInfo
(DifarDataUnit[] matchedUnits, TargetMotionResult difarCrossing) -
Method Summary
Modifier and TypeMethodDescriptionDouble[]
int
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.getXyz()
void
setLocation
(LatLong latLong)
-
Constructor Details
-
DIFARCrossingInfo
-
DIFARCrossingInfo
Constructor to use when readin gback in binary data.- Parameters:
matchedUnits
-latLong
-
-
DIFARCrossingInfo
Constructor to use when readin gback in binary data.- Parameters:
matchedUnits
-latLong
-
-
-
Method Details
-
setLocation
-
getCrossLocation
- Returns:
- the crossLocation
-
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
- Returns:
- the xyz
-
getErrors
- Returns:
- the errors
-