• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • boundaries
  • AABB3ToOBB3

Function AABB3ToOBB3

  • AABB3ToOBB3(aabb?: FloatArrayParam, obb?: FloatArrayParam): FloatArrayParam

    Converts an axis-aligned bounding box (AABB) into an oriented bounding box (OBB) consisting of eight 3D corner positions.

    Parameters

    • aabb: FloatArrayParam = ...

      The input AABB [minX, minY, minZ, maxX, maxY, maxZ].

    • obb: FloatArrayParam = ...

      The output OBB array (defaults to a new OBB).

    Returns FloatArrayParam

    The computed OBB.

    • Defined in packages/sdk/src/boundaries/index.ts:262

Settings

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

Generated using TypeDoc