IFClite TypeScript API
    Preparing search index...

    Class ScanOutlineJs

    The traced outline. Owns wasm memory: call free().

    Index
    ringCount: number

    Total number of rings (outer boundaries and holes).

    shapeCount: number

    Number of outer boundaries.

    • Returns void

    • Every ring's plane coordinates concatenated, [u0, v0, u1, v1, …].

      Returns Float64Array

    • Returns void

    • Vertex count of each ring, in coords() order.

      Returns Uint32Array

    • The ring directly containing each ring (a hole's outer boundary, an island's hole), or -1 at top level.

      Returns Int32Array

    • Ring index at which each shape starts; entry s is shape s's outer ring and the rings up to the next entry are its holes.

      Returns Uint32Array

    • Every ring mapped through the plane frame, [x0, y0, z0, …] in coords() order, or undefined when no frame was given.

      Returns Float64Array<ArrayBufferLike> | undefined