fast-mesh-wasm
    Preparing search index...

    Interface ThicknessFieldDesc

    A per-vertex wall-thickness field to add with Scene.addThicknessField: the distance to the opposite surface along each vertex's smooth normal, in world units (the placement's scale applied, so scaled meshes read scaled).

    Vertices whose rays escape in both directions (open sheets, the rims of open meshes), dead slots and unused vertices hold NaN; hits beyond maxDistance hold Infinity. Colour it like any field: NaN takes the rule's nan colour, Infinity follows above.

    interface ThicknessFieldDesc {
        maxDistance: number;
        name: string;
        on: MeshHandle;
    }
    Index
    maxDistance: number

    Largest thickness kept (inclusive); thicker vertices hold Infinity. May be Infinity.

    name: string

    Unique among the fields on on.

    The mesh whose vertices carry the values.