symcrys
    Preparing search index...

    Function latticeBasis

    • The conventional basis vectors a, b, c as the columns of a Cartesian matrix, with unit edge lengths. Hexagonal family (hexagonal axes): x ∥ a, z ∥ c, y = z × x, so b points at 120° from a. Orthorhombic, tetragonal, cubic: x ∥ a, y ∥ b, z ∥ c.

      The edge lengths are set to 1 because the symmetry directions of these families, and so the point operations, do not depend on them. For a direction [uvw] that is not a symmetry direction, scale the columns by the real edge lengths first.

      Parameters

      Returns Mat3

      The matrix is frozen and shared between calls.