public class DifarLocalisation extends AbstractLocalisation
HAS_AMBIGUITY, HAS_BEARING, HAS_BEARINGERROR, HAS_DEPTH, HAS_DEPTHERROR, HAS_LATLONG, HAS_PERPENDICULARERRORS, HAS_RANGE, HAS_RANGEERROR, HAS_XY, HAS_XYZ
Constructor and Description |
---|
DifarLocalisation(DifarDataUnit difarDataUnit,
int locContents,
int referenceHydrophones) |
Modifier and Type | Method and Description |
---|---|
boolean |
bearingAmbiguity() |
double[] |
getAngleErrors() |
double[] |
getAngles() |
LatLong |
getLatLong(int iSide)
Return the latlong for a location.
|
int |
getLocContents() |
int |
getNumLatLong() |
int |
getSubArrayType() |
PamVector[] |
getWorldVectors()
Get vectors pointing at this localisation in a real world coordinate frame.
|
addLocContents, getArrayOrientationVectors, getBearing, getBearing, getBearingError, getBearingError, getBearingReference, getDepth, getDepth, getDepthError, getDepthError, getErrorDirection, getOriginLatLong, getParallelError, getParentDetection, getPerpendiculaError, getPlanarAngles, getPlanarVector, getRange, getRange, getRangeError, getRangeError, getRealWorldVectors, getReferenceHydrophones, getTimeDelayErrors, getTimeDelays, hasLocContent, indexM1, indexM2, removeLocContents, setArrayAxis, setLocContents, setParentDetection, setReferenceHydrophones, setSubArrayType
public DifarLocalisation(DifarDataUnit difarDataUnit, int locContents, int referenceHydrophones)
public int getSubArrayType()
getSubArrayType
in class AbstractLocalisation
Added DG 6 January 2010
public int getLocContents()
getLocContents
in class AbstractLocalisation
public boolean bearingAmbiguity()
bearingAmbiguity
in class AbstractLocalisation
public PamVector[] getWorldVectors()
AbstractLocalisation
getWorldVectors
in class AbstractLocalisation
public double[] getAngles()
getAngles
in class AbstractLocalisation
For a point array, null should be returned.
For a line array a single angle is returned which is the angle relative to the first orientation vector with 0 being in line with the orientation vector (can be thought of as colatitude).
For a planar or volumetric array, two angles should be returned, the first being the colatitude, the second being the longitude which will be between 0 and pi for a planar array and either -pi to pi or 0 to 2pi for a volumetric array.
public double[] getAngleErrors()
getAngleErrors
in class AbstractLocalisation
For a point array, null should be returned.
For a line array a single error is returned which is the angle relative to the first orientation vector with 0 being in line with the orientation vector (can be thought of as colatitude).
For a planar or volumetric array, two errors should be returned, the first being the error on colatitude, the second being the longitude which will be between 0 and pi for a planar array and either -pi to pi or 0 to 2pi for a volumetric array.
public LatLong getLatLong(int iSide)
AbstractLocalisation
getLatLong
in class AbstractLocalisation
iSide
- 0, 1, 2, etc.public int getNumLatLong()
getNumLatLong
in class AbstractLocalisation