Function asPoints

  • Yields all the points of all the lines.

    const lines = [ ..some array of lines.. ];
    for (const pt of Lines.asPoints(lines)) {
    // Yields a and then b of each point sequentially
    }

    Parameters

    • lines: Iterable<Line>

    Returns Generator<Point, void, unknown>