Array
Class StaticHydrophoneLocator

java.lang.Object
  extended by Array.SimpleHydrophoneLocator
      extended by Array.StaticHydrophoneLocator
All Implemented Interfaces:
HydrophoneLocator

public class StaticHydrophoneLocator
extends SimpleHydrophoneLocator


Field Summary
 
Fields inherited from class Array.SimpleHydrophoneLocator
pamArray
 
Fields inherited from interface Array.HydrophoneLocator
ANGLE_RE_ARRAY, ANGLE_RE_NORTH, ANGLE_RE_SHIP
 
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.
 
Method Summary
 LatLong getPhoneLatLong(long timeMilliseconds, int phoneNo)
          Get's the LatLong of a specific hydrophone at a given time.
 LatLong getReferenceLatLong(long timeMilliseconds)
          Gets a reference LatLong for the locator at a given time.
 void notifyModelChanged(int changeType)
           
 java.lang.String toString()
           
 
Methods inherited from class Array.SimpleHydrophoneLocator
getPairAngle, getPairSeparation, getPhoneDepth, getPhoneHeading, getPhoneTilt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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 for
phoneNo - 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