Class MillerIndices

java.lang.Object
org.episteme.natural.chemistry.crystallography.MillerIndices

public class MillerIndices extends Object
Miller Indices (hkl) for crystal planes.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

    • h

      public final int h
    • k

      public final int k
    • l

      public final int l
  • Constructor Details

    • MillerIndices

      public MillerIndices(int h, int k, int l)
  • Method Details

    • calculateInterplanarSpacingCubic

      public double calculateInterplanarSpacingCubic(double a)
      Calculates interplanar spacing (d-spacing) for a Cubic system. d = a / sqrt(h^2 + k^2 + l^2)
      Parameters:
      a - Lattice constant (length)
      Returns:
      d-spacing
    • toString

      public String toString()
      Overrides:
      toString in class Object