Skip to main content

plane_from_hkil

Function plane_from_hkil 

Source
pub fn plane_from_hkil(hkil: [i32; 4]) -> Result<[i32; 3], CrystalError>
Expand description

Three-index Miller indices (hkl) of the Miller-Bravais plane (hkil).

ยงErrors

CrystalError::InvalidMillerBravais unless h + k + i = 0.