Field Notes
    Preparing search index...

    Interface PathDistance

    interface PathDistance {
        cumulative: number[];
        diagonals: number;
        total: number;
    }
    Index
    cumulative: number[]

    Cost after each waypoint; cumulative[0] === 0, one entry per point.

    diagonals: number

    Square-grid diagonal steps at the end, including startDiagonals; 0 on hex, gridless, euclidean.

    total: number

    Cost of the whole path in cells.