Class TDHyperboleUtils
java.lang.Object
Localiser.algorithms.timeDelayLocalisers.hyperbolic.TDHyperboleUtils
Contains functions required to calculate a hyperboloid using time delays.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)=-1static 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
-
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 constantc
- equation constantz
- z axis positionn
- 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 constantc
- equation constantz
- z axis positionn
- 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.
-