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

Function basisAABBExtents

  • basisAABBExtents(
        basis: ProjectionBasis,
        aabb: FloatArrayParam,
    ): { uMax: number; uMin: number; vMax: number; vMin: number }

    Project the 8 corners of a world-space AABB into basis coordinates and return the rotated rectangle's u/v extents. The d-axis extent isn't returned here — depth is per-vertex for rasterisation, so the buffer doesn't need its bounds.

    Parameters

    • basis: ProjectionBasis
    • aabb: FloatArrayParam

    Returns { uMax: number; uMin: number; vMax: number; vMin: number }

    • Defined in packages/sdk/src/presentations/drawings/hle/computeHLE.ts:232

Settings

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

Generated using TypeDoc