@pmndrs/bvh
    Preparing search index...

    Class OrientedBox

    three-mesh-bvh's OrientedBox: the box min-max placed by matrix. Set needsUpdate after changing min, max or matrix (set does).

    Implements

    Index
    • Parameters

      • Optionalmin: Vector3
      • Optionalmax: Vector3
      • Optionalmatrix: Matrix4

      Returns OrientedBox

    alignedSatBounds: SeparatingAxisBounds[] = ...
    invMatrix: Matrix4 = ...
    isOrientedBox: true = ...
    matrix: Matrix4 = ...
    max: Vector3 = ...
    min: Vector3 = ...
    needsUpdate: boolean = false
    points: Vector3[] = ...

    The eight corners, transformed; corner i takes x from bit 0, y from bit 1, z from bit 2.

    satAxes: Vector3[] = ...
    satBounds: SeparatingAxisBounds[] = ...
    • The point of the (solid) box closest to point, into target.

      Parameters

      • point: Vector3
      • target: Vector3 = ...

      Returns Vector3

    • Parameters

      • box: Box3
      • threshold: number = 0
      • target1: Vector3 | null = null
      • target2: Vector3 | null = null

      Returns number

    • Parameters

      • point: Vector3

      Returns number

    • Parameters

      • box: Box3

      Returns boolean

    • Parameters

      • triangle: Triangle

      Returns boolean

    • Parameters

      • min: Vector3
      • max: Vector3
      • matrix: Matrix4

      Returns this