symcrys
    Preparing search index...

    Interface SymmetryLine

    A mirror or glide line: the part of it in the cell.

    interface SymmetryLine {
        kind: "mirror" | "glide";
        direction: readonly number[];
        glide: readonly number[];
        segment: readonly (readonly number[])[];
    }
    Index
    kind: "mirror" | "glide"

    'mirror' or 'glide'.

    direction: readonly number[]

    The direction of the line, the shortest integer vector, first non-zero component positive.

    glide: readonly number[]

    For a glide line its glide vector s·direction, 0 < s < 1; for a mirror line (0, 0).

    segment: readonly (readonly number[])[]

    The two ends of the segment of the line in the cell [0, 1]², in the order of direction.