Package ffx.crystal

Enum Class CrystalSystem

java.lang.Object
java.lang.Enum<CrystalSystem>
ffx.crystal.CrystalSystem
All Implemented Interfaces:
Serializable, Comparable<CrystalSystem>, Constable

public enum CrystalSystem extends Enum<CrystalSystem>
Enumeration of the 7 crystal systems.
  • TRICLINIC: a≠b≠c α≠β≠γ≠90°
  • MONOCLINIC: a≠b≠c α=γ=90°≠β
  • ORTHORHOMBIC: a≠b≠c α=β=γ=90°
  • TETRAGONAL: a=b≠c α=β=γ=90°
  • TRIGONAL: a=b=c α=β=γ≠90°
  • HEXAGONAL: a=b≠c α=β=90°, γ=120°
  • CUBIC: a=b=c α=β=γ=90°
Since:
1.0
Author:
Michael J. Schnieders
  • Enum Constant Details

    • TRICLINIC

      public static final CrystalSystem TRICLINIC
      Triclinic crystal system.
    • MONOCLINIC

      public static final CrystalSystem MONOCLINIC
      Monoclinic crystal system.
    • ORTHORHOMBIC

      public static final CrystalSystem ORTHORHOMBIC
      Orthorhombic crystal system.
    • TETRAGONAL

      public static final CrystalSystem TETRAGONAL
      Tetragonal crystal system.
    • TRIGONAL

      public static final CrystalSystem TRIGONAL
      Trigonal crystal system.
    • HEXAGONAL

      public static final CrystalSystem HEXAGONAL
      Hexagonal crystal system.
    • CUBIC

      public static final CrystalSystem CUBIC
      Cubic crystal system.
  • Method Details

    • values

      public static CrystalSystem[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CrystalSystem valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null