public class ThreadingHydrophoneLocator extends StraightHydrophoneLocator
Extends StrightHydrophoneLocator since that already handled accessing GPS data.
ANGLE_RE_ARRAY, ANGLE_RE_NORTH, ANGLE_RE_SHIP
Constructor and Description |
---|
ThreadingHydrophoneLocator(PamArray pamArray,
Streamer streamer) |
Modifier and Type | Method and Description |
---|---|
double |
getArrayHeading(long timeMilliseconds,
int phoneNo)
Get the heading of the array at the given time.
|
java.lang.String |
getName() |
double |
getPairAngle(long timeMilliseconds,
int phone1,
int phone2,
int angleType)
Get's the angle between a pair of hydrophones
|
GpsData |
getPhoneLatLong(long timeMilliseconds,
int phoneNo)
Get's the LatLong of a specific hydrophone at a given time.
|
StraightHydrophoneLocator |
getStraightHydrophoneLocator() |
ThreadingHydrophoneLocator |
getThreadingHydrophoneLocator() |
java.lang.String |
toString() |
getCorrectedYPos, getDefaultSettings, getLocator, getLocatorSettings, getObserverName, getPhoneHeight, getReferenceLatLong, getRequiredDataHistory, noteNewSettings, removeObservable, setLocatorSettings, setSampleRate
getArrayHeading, getHydrophoneCoordinateErrors, getHydrophoneCoordinates, getPairSeparation, getPhoneHeading, getPhoneTilt, isChangeable, isStatic, notifyModelChanged
public java.lang.String toString()
toString
in class StraightHydrophoneLocator
public StraightHydrophoneLocator getStraightHydrophoneLocator()
public ThreadingHydrophoneLocator getThreadingHydrophoneLocator()
public GpsData getPhoneLatLong(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getPhoneLatLong
in class StraightHydrophoneLocator
timeMilliseconds
- time position needed forphoneNo
- Hydrophone numberpublic double getArrayHeading(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getArrayHeading
in class StraightHydrophoneLocator
phoneNo
- Hydrophone number (the array may be heading in different directions at different places !)public double getPairAngle(long timeMilliseconds, int phone1, int phone2, int angleType)
HydrophoneLocator
getPairAngle
in class StraightHydrophoneLocator
timeMilliseconds
- time angle is needed forphone1
- First hydrophonephone2
- Second HydrophoneangleType
- Type of angle - ANGLE_RE_NORTH; ANGLE_RE_SHIP; ANGLE_RE_ARRAY;public java.lang.String getName()
getName
in class StraightHydrophoneLocator