Package Array
Class SnapshotGeometry
java.lang.Object
Array.SnapshotGeometry
Holder of array geometry for a group of data units and an 
 instant in time. This class has primarily been developed to 
 support the group 3D localiser functions.
- Author:
 - dg50
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAbsPhoneLatLong(int iPhone) Get the abs position of a specified hydrophone.double[]Get the array axes as two angles, clockwise from North and elevation.Get the array axes.Get the central GPS position for used hydrophones.int[]doubleGet the maximum separation between any two hydrophones.doublegetPairDistance(int h1, int h2) Get the distance between a hydrophone pair.intgetShape()int[]longvoidsetGeometry(PamVector[] geometry) voidsetHydrophoneList(int[] hydrophoneList) voidsetReferenceGPS(GpsData referenceGPS) voidsetTimeMilliseconds(long timeMilliseconds)  
- 
Constructor Details
- 
SnapshotGeometry
public SnapshotGeometry(PamArray currentArray, long timeMilliseconds, int[] streamerList, int[] hydrophoneList, GpsData referenceGPS, PamVector geometricCentre, PamVector[] geometry, PamVector[] streamerErrors, PamVector[] hydrophoneErrors) - Parameters:
 currentArray- Hydrophone arraytimeMilliseconds- time this snap shot was createdhydrophoneList- list of hydrophonesreferenceGPS- reference position and orientationgeometricCentre- geometric centre (average values of geometry)geometry- array geometry in metres relative to referenceGPS.channelList- list of data channels
 
 - 
 - 
Method Details
- 
getShape
public int getShape() - 
getAbsPhoneLatLong
Get the abs position of a specified hydrophone.- Parameters:
 iPhone-- Returns:
 
 - 
getArrayAxes
Get the array axes. For a linear array this is a single vector.- Returns:
 
 - 
getArrayAngles
public double[] getArrayAngles()Get the array axes as two angles, clockwise from North and elevation.- Returns:
 - array angles (1 element vector)
 
 - 
getTimeMilliseconds
public long getTimeMilliseconds()- Returns:
 - the timeMilliseconds
 
 - 
setTimeMilliseconds
public void setTimeMilliseconds(long timeMilliseconds) - Parameters:
 timeMilliseconds- the timeMilliseconds to set
 - 
getReferenceGPS
- Returns:
 - the referenceGPS
 
 - 
setReferenceGPS
- Parameters:
 referenceGPS- the referenceGPS to set
 - 
getCentreGPS
Get the central GPS position for used hydrophones.- Returns:
 - central position of used hydrophones.
 
 - 
getGeometry
- Returns:
 - the geometry in metres relative to the referenceGPS
 
 - 
getMaxSeparation
public double getMaxSeparation()Get the maximum separation between any two hydrophones.- Returns:
 - max separation between any pair of hydrophones
 
 - 
getPairDistance
public double getPairDistance(int h1, int h2) Get the distance between a hydrophone pair.- Parameters:
 h1-h2-- Returns:
 
 - 
setGeometry
- Parameters:
 geometry- the geometry in metres relative to the referenceGPS
 - 
getHydrophoneList
public int[] getHydrophoneList()- Returns:
 - the hydrophoneList
 
 - 
setHydrophoneList
public void setHydrophoneList(int[] hydrophoneList) - Parameters:
 hydrophoneList- the hydrophoneList to set
 - 
getGeometricCentre
- Returns:
 - the geometricCentre
 
 - 
getCurrentArray
- Returns:
 - the currentArray
 
 - 
getStreamerList
public int[] getStreamerList()- Returns:
 - the streamerList
 
 - 
getStreamerErrors
- Returns:
 - the streamerErrors
 
 - 
getHydrophoneErrors
- Returns:
 - the hydrophoneErrors
 
 
 -