Class EchoLineDef

java.lang.Object
tritechgemini.echogram.EchoLineDef
All Implemented Interfaces:
Serializable, Cloneable

public class EchoLineDef extends Object implements Serializable, Cloneable
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EchoLineDef(int bearingBin1, int bearingBin2, int meanOf)
    Create a echo line definition using two bearing bins, which must be within the range of the bearing table, i.e.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    equals(Object arg0)
     
    double[]
    getBearingRange(double[] bearingTable)
    Get the range from the given bearing table.
    int
     

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • EchoLineDef

      public EchoLineDef(int bearingBin1, int bearingBin2, int meanOf)
      Create a echo line definition using two bearing bins, which must be within the range of the bearing table, i.e. bearingBin1 >= 0 and bearingBin2 invalid input: '<' bearingTable.length
      Parameters:
      bearingBin1 -
      bearingBin2 -
  • Method Details

    • getBearingRange

      public double[] getBearingRange(double[] bearingTable)
      Get the range from the given bearing table.
      Parameters:
      bearingTable -
      Returns:
    • clone

      public EchoLineDef clone()
      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object arg0)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object