fast-mesh-wasm
    Preparing search index...

    Interface BoundSection

    A section drawn by bindSection.

    interface BoundSection {
        group: Group;
        plane: Plane;
        dispose(): void;
    }
    Index
    group: Group

    Add it to the THREE.Scene, untransformed (results are in world coordinates; a transformed ancestor is detected and warned about once). Per bound mesh the section cuts, it holds a LineSegments of the contours and a Mesh of the fill (empty while the section has no fill).

    plane: Plane

    The section plane, kept equal to the scene's. Three clips away what lies on the plane's negative side, so the part on the side the section normal points to stays visible.

    • Stops following the scene, removes the plane from the materials (if the section's removal has not already) and disposes the geometries and the line and fill materials. Safe to call more than once. The group stays wherever it was added.

      Returns void