fast-mesh-wasm
    Preparing search index...

    Interface SectionResult

    A section's result for one mesh, from Scene.section. Copies, in world coordinates.

    interface SectionResult {
        area: number;
        contours: SectionContour[];
        fill?: { indices: Uint32Array; positions: Float32Array };
        length: number;
        status: "current" | "stale";
    }
    Index
    area: number

    Summed signed area of the closed, oriented contours (positive counter-clockwise about the normal).

    contours: SectionContour[]
    fill?: { indices: Uint32Array; positions: Float32Array }

    The filled cross-section, when the section has fill on and it was computed.

    length: number

    Summed length of every contour.

    status: "current" | "stale"

    "stale" when not computed yet or something changed since: call Scene.updateSections.