Isometric Drawing Toolkit
    Preparing search index...

    Function calculateEdgesLayered

    • Calculates where edges should be displayed from a list of cube coordinates using the layered cube neighbor discovery algorithm.

      Parameters

      • reverseSortedCoordinates: Coordinates[]

        List of cube coordinates, sorted by (x + y + z) descendingly.

      Returns Generator<[Coordinates, Coordinates], void, number | undefined>

      A generator that generates edges to be displayed, edges are represented as tuples of coordinates for start and end points.