Array
Class StaticHydrophoneLocator
java.lang.Object
Array.SimpleHydrophoneLocator
Array.StaticHydrophoneLocator
- All Implemented Interfaces:
- HydrophoneLocator
public class StaticHydrophoneLocator
- extends SimpleHydrophoneLocator
|
Constructor Summary |
StaticHydrophoneLocator(PamArray pamArray)
for a static hydrophone array, the anlge can only ever be relative to North
so don't need to use anlgeType here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StaticHydrophoneLocator
public StaticHydrophoneLocator(PamArray pamArray)
- for a static hydrophone array, the anlge can only ever be relative to North
so don't need to use anlgeType here.
getReferenceLatLong
public LatLong getReferenceLatLong(long timeMilliseconds)
- Description copied from interface:
HydrophoneLocator
- Gets a reference LatLong for the locator at a given time.
For towed hydrophones, this will be the ships gps
position at that moment. FOr static phones it will
be the static array reference position.
- Parameters:
timeMilliseconds - time reference needed for
- Returns:
- Reference LatLonbg
getPhoneLatLong
public LatLong getPhoneLatLong(long timeMilliseconds,
int phoneNo)
- Description copied from interface:
HydrophoneLocator
- Get's the LatLong of a specific hydrophone at a given time.
- Parameters:
timeMilliseconds - time position needed forphoneNo - Hydrophone number
- Returns:
- Hydrophone LatLong
notifyModelChanged
public void notifyModelChanged(int changeType)
- Specified by:
notifyModelChanged in interface HydrophoneLocator- Overrides:
notifyModelChanged in class SimpleHydrophoneLocator
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object