threejs-worldgen
    Preparing search index...

    Interface NetworkEdge

    One link of a network, routed over the terrain.

    interface NetworkEdge {
        cells: string[];
        from: number;
        id: number;
        length: number;
        points: [number, number][];
        to: number;
        type: NetworkType;
    }
    Index
    cells: string[]

    Fine H3 cells the route passes through, in order.

    from: number

    Settlement id at the start.

    id: number

    Index in Network.edges.

    length: number

    Polyline length, metres.

    points: [number, number][]

    Polyline in local [x, z], metres, from from's position to to's (smoothed).

    to: number

    Settlement id at the end.

    Kind of link.