Class TDHyperboleUtils

java.lang.Object
Localiser.algorithms.TDHyperboleUtils

public class TDHyperboleUtils extends Object
Contains functions required to calculate a hyperboloid using time delays.
Author:
Jamie Macaulay
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ArrayList<javax.vecmath.Point3f[]>
    calcTDHyperboloid(double tD, double hDistance, double soundSpeed, float zEnd, float nStrips, int nCircPoints)
    Calculates a series of points for the hyperboloid defined by a time delay and between two hydrophones separated by hDistance;
    static javax.vecmath.Point3f[]
    hyperboloidParXTTS(float a, float c, float z, int n)
    Paramteric equation for x,y co-ordinates of a TWO SHEETED SURFACE hyperboloid orientated along the z axis and defined by the Cartesian equation (x^2/a^2)+(y^2/a^2)-(z^2/c^2)=-1
    static javax.vecmath.Point3f[]
    hyperboloidParXYDR(float a, float c, float z, int n)
    Paramteric equation for x,y co-ordinates of a DOUBLY RULED SURFACE hyperboloid orientated along the z axis and defined by the Cartesian equation (x^2/a^2)+(y^2/a^2)+(z^2/c^2)=1

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TDHyperboleUtils

      public TDHyperboleUtils()
  • Method Details

    • hyperboloidParXYDR

      public static javax.vecmath.Point3f[] hyperboloidParXYDR(float a, float c, float z, int n)
      Paramteric equation for x,y co-ordinates of a DOUBLY RULED SURFACE hyperboloid orientated along the z axis and defined by the Cartesian equation (x^2/a^2)+(y^2/a^2)+(z^2/c^2)=1
      Parameters:
      a - -equation constant
      c - equation constant
      z - z axis position
      n - number of x,y points;
      Returns:
      an array of xy points corresponding to the points of a 3D hyperboloid intersected by an xy plane at height z.
    • hyperboloidParXTTS

      public static javax.vecmath.Point3f[] hyperboloidParXTTS(float a, float c, float z, int n)
      Paramteric equation for x,y co-ordinates of a TWO SHEETED SURFACE hyperboloid orientated along the z axis and defined by the Cartesian equation (x^2/a^2)+(y^2/a^2)-(z^2/c^2)=-1
      Parameters:
      a - -equation constant
      c - equation constant
      z - z axis position
      n - number of x,y points;
      Returns:
      an array of x,y points corresponding to the points of a 3D hyperboloid intersected by an x,y plane at height z.
    • calcTDHyperboloid

      public static ArrayList<javax.vecmath.Point3f[]> calcTDHyperboloid(double tD, double hDistance, double soundSpeed, float zEnd, float nStrips, int nCircPoints)
      Calculates a series of points for the hyperboloid defined by a time delay and between two hydrophones separated by hDistance;
      Parameters:
      tD - - time delay in seconds.
      hDistance - - distance between hydrophones.
      soundSpeed - - sound speed in m/s.
      zEnd - - the distance from centre of the array to calculate hyperboloid points for.
      nStrips - - the number of strips calculated for the hyperboloid.
      nCircPoints - - the number of points calculated for each strip.