Package ffx.crystal

Class HKL

java.lang.Object
ffx.crystal.HKL

public class HKL extends Object
The HKL class represents a single reflection.
Since:
1.0
Author:
Timothy D. Fenn
See Also:
  • Field Details

    • h

      protected int h
    • k

      protected int k
    • l

      protected int l
    • epsilon

      protected int epsilon
    • allowed

      protected int allowed
    • bin

      protected int bin
    • index

      protected int index
  • Constructor Details

    • HKL

      public HKL()
      Constructor for HKL.
    • HKL

      public HKL(int h, int k, int l)
      Constructor for HKL.
      Parameters:
      h - an int.
      k - an int.
      l - an int.
    • HKL

      public HKL(int h, int k, int l, int eps, int allowed)
      Constructor for HKL.
      Parameters:
      h - an int.
      k - an int.
      l - an int.
      eps - an int.
      allowed - an int.
  • Method Details

    • neg

      public HKL neg()
      neg
      Returns:
      a HKL object.
    • sysAbs

      public boolean sysAbs()
      sysAbs
      Returns:
      a boolean.
    • quadForm

      public double quadForm(double[][] mat)
      quadForm
      Parameters:
      mat - an array of double.
      Returns:
      a double.
    • getAllowed

      public double getAllowed()
      getAllowed
      Returns:
      a double.
    • setAllowed

      public void setAllowed(int allowed)
      setAllowed
      Parameters:
      allowed - an int.
    • getBin

      public int getBin()
      getBin
      Returns:
      an int.
    • setBin

      public void setBin(int bin)
      setBin
      Parameters:
      bin - an int.
    • centric

      public boolean centric()
      centric
      Returns:
      a boolean.
    • getEpsilon

      public int getEpsilon()
      getEpsilon
      Returns:
      an int.
    • setEpsilon

      public void setEpsilon(int eps)
      setEpsilon
      Parameters:
      eps - an int.
    • epsilonc

      public int epsilonc()
      epsilonc
      Returns:
      an int.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getH

      public int getH()
      h
      Returns:
      an int.
    • setH

      public void setH(int h)
      h
      Parameters:
      h - an int.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getIndex

      public int getIndex()
      index
      Returns:
      an int.
    • setIndex

      public void setIndex(int index)
      index
      Parameters:
      index - an int.
    • getK

      public int getK()
      k
      Returns:
      an int.
    • setK

      public void setK(int k)
      k
      Parameters:
      k - an int.
    • getL

      public int getL()
      l
      Returns:
      an int.
    • setL

      public void setL(int l)
      l
      Parameters:
      l - an int.
    • toString

      public String toString()
      Overrides:
      toString in class Object