IFClite TypeScript API
    Preparing search index...

    Class HiddenLineClassifier

    Index
    • Build the occluder depth buffer for the KEPT half of the section (flip-adjusted depth in [-occluderDepth, 0]), storing view depths.

      Takes the FULL plane config (issue #2639): a custom (face-picked) plane is honoured via the same signedDepth / projectPointForPlane helpers the line producers use, so buffer and lines agree by construction. For cardinal planes the projection is numerically identical to the old axis/position/flipped path (same axis mapping, same flipped ? -u : u).

      Parameters

      • meshes: MeshData[]

        Source meshes (world = per-mesh origin + local positions)

      • plane: SectionPlaneConfig

        Section plane (cardinal fields, plus optional customPlane)

      • occluderDepth: number

        How far into the kept half occluders rasterize

      • Optionalbounds: Bounds2D

        Optional pre-computed 2D bounds

      Returns void