IFClite TypeScript API
    Preparing search index...

    Interface HalfSpaceClipResult

    interface HalfSpaceClipResult {
        mesh: MeshData | null;
        rimSegments: WorldSegment[];
    }
    Index
    mesh: MeshData | null

    The clipped mesh, or null when no triangle survived. When NOTHING was cut or dropped this is the INPUT mesh by reference (no copy) — the common case for a model where only a handful of elements straddle the plane.

    rimSegments: WorldSegment[]

    New edges on the cut plane, world space. Empty when nothing was cut.