• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • presentations
  • drawings
  • fills
  • extractFills

Function extractFills

  • extractFills(
        buffer: HLEDepthBuffer,
        planeDepth: number,
        options?: ExtractFillsOptions,
    ): FillPolygons[]

    Extract filled-polygon geometry, one per source SceneMesh that contributed at least one frontmost pixel to buffer.

    Parameters

    • buffer: HLEDepthBuffer

      Depth buffer built with withOwners: true.

    • planeDepth: number

      Basis-space d-coordinate of the projection plane (i.e. dot(planePoint, buffer.basis.forward)). The orchestrator computes this from the AABB extent along basis.forward plus the user-supplied offset, and the extractor uses it to lift each pixel back to a 3D world point on the plane.

    • options: ExtractFillsOptions = {}

      Tuning parameters.

    Returns FillPolygons[]

    • Defined in packages/sdk/src/presentations/drawings/fills/extractFills.ts:48

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc