> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: Bounding Box
icon: box
---

# <ApiPageIcon icon="box" />Bounding Box

<ApiExposes data="[{&#x22;k&#x22;:&#x22;CDATA&#x22;,&#x22;c&#x22;:&#x22;method&#x22;,&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;h&#x22;:&#x22;#aabb_t&#x22;},{&#x22;k&#x22;:&#x22;CTYPE&#x22;,&#x22;c&#x22;:&#x22;ctor&#x22;,&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;h&#x22;:&#x22;#aabb_t-1&#x22;}]" />

## AABB\_t<ApiTag label="cdata" href="/cs2/api_reference/tutorials/ffi-crash-course#ctype-and-cdata" title="cdata<struct AABB_t>" />

<ApiSymbol inherits="[{&#x22;n&#x22;:&#x22;AABB_t&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t-1&#x22;}]" />

An axis aligned bounding box. It is stored as a minimum corner and a maximum corner.

Trace shapes and hitbox bounds use this type. Schema fields of type `AABB_t` or `AABBWS_t`
are also read and written as this type.

The `TransformAABB`, `RotateAABB` and `RotateAndScaleAABB` methods of `matrix3x4_t`,
`CTransform` and the quaternion types take a minimum and a maximum corner. You can pass one
`AABB_t` instead of the two corners. In that case, the method also returns an `AABB_t`.

The `+` operator returns the smallest box that contains both boxes. The `==` operator
compares both corners and returns `false` when the other value is not an `AABB_t`.

```cpp lines=false
typedef struct AABB_t {
    Vector m_vMinBounds;
    Vector m_vMaxBounds;
} AABB_t;
```

<ApiMembers>
  <ApiMember kind="prop" name="AABB_t.m_vMaxBounds" summary="The maximum corner." ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" />

  <ApiMember kind="prop" name="AABB_t.m_vMinBounds" summary="The minimum corner." ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" />

  <ApiMember kind="meta" name="AABB_t + b" summary="The smallest box that contains both boxes." syntax="a + b" mm="__add" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;b&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]}]" />
</ApiMembers>

<Heading level={2} id="aabb_t-1">
  AABB_t

  <ApiTag label="ctype · callable" href="/cs2/api_reference/tutorials/ffi-crash-course#ctype-and-cdata" title="ctype<struct AABB_t>" />
</Heading>

Call `AABB_t()` to create a box with both corners at `(0, 0, 0)`. Call `AABB_t(mins, maxs)`
with two vectors to set the corners. Call `AABB_t(points)` with a Lua array of points to
create the smallest box that contains all of them. If the array is empty, the box is
invalid, the same as `AABB_t.Invalid()`. Call `AABB_t(other)` to make a copy of another box.

Any other arguments throw an error.

<ApiMembers>
  <ApiMember kind="ctor" name="AABB_t()" summary="A box with both corners at `(0, 0, 0)`." syntax="AABB_t()" mm="__call" sig="[{&#x22;s&#x22;:&#x22;AABB_t&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" />

  <ApiMember kind="ctor" name="AABB_t(mins, maxs)" syntax="AABB_t(mins, maxs)" mm="__call" sig="[{&#x22;s&#x22;:&#x22;AABB_t&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;mins&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;VectorAligned&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vectoraligned#vectoraligned&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;maxs&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;VectorAligned&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vectoraligned#vectoraligned&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;mins&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;VectorAligned&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vectoraligned#vectoraligned&#x22;}]},{&#x22;n&#x22;:&#x22;maxs&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;VectorAligned&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vectoraligned#vectoraligned&#x22;}]}]" />

  <ApiMember kind="ctor" name="AABB_t(points)" summary="The smallest box that contains every point in a Lua array." syntax="AABB_t(points)" mm="__call" sig="[{&#x22;s&#x22;:&#x22;AABB_t&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;points&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;[&#x22;},{&#x22;s&#x22;:&#x22;]&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;points&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;[&#x22;},{&#x22;s&#x22;:&#x22;]&#x22;}]}]" />

  <ApiMember kind="ctor" name="AABB_t(self)" syntax="AABB_t(self)" mm="__call" sig="[{&#x22;s&#x22;:&#x22;AABB_t&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;self&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;self&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]}]" />

  <ApiMember kind="fn" name="AABB_t.Invalid" summary="Returns a box that contains nothing. The minimum corner is set to `FLT_MAX` and the maximum corner is set to `-FLT_MAX` on every axis. When you add a point to this box, the box becomes that point." args="" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Invalid&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}]]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.Copy" summary="Copies one box into another box." args="src, dst" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Copy&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;src&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;dst&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;src&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to copy from.&#x22;},{&#x22;n&#x22;:&#x22;dst&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to copy into.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.Init" summary="Sets both corners of the box." args="box, mins, maxs" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Init&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;mins&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;maxs&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;mins&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The minimum corner.&#x22;},{&#x22;n&#x22;:&#x22;maxs&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The maximum corner.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.MakeInvalid" summary="Changes the box so that it contains nothing. This is the same box as `AABB_t.Invalid()`." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.MakeInvalid&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.IsInvalid" summary="Returns `true` if the minimum is greater than the maximum on any axis." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.IsInvalid&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to check.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.IsEmpty" summary="Returns `true` if the size of the box is 0 or negative on any axis. This means the minimum is greater than or equal to the maximum on that axis." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.IsEmpty&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to check.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.IsReasonable" summary="Returns `true` if both corners pass `Vector.IsReasonable` with its default range of 1000000." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.IsReasonable&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to check.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetCenter" summary="Returns the center of the box. This is the point halfway between the two corners." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetCenter&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetSize" summary="Returns the size of the box on each axis. This is the maximum corner minus the minimum corner." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetSize&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetBoundingRadius" summary="Returns the distance from the center of the box to a corner. A sphere with this radius around the center contains the whole box." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetBoundingRadius&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetSurfaceArea" summary="Returns the total area of the six faces of the box." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetSurfaceArea&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetVolume" summary="Returns the volume of the box." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetVolume&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.Corner" summary="Returns one of the eight corners of the box. Each bit of `n` chooses the minimum or the maximum value on one axis. Bit 0 chooses the maximum X, bit 1 chooses the maximum Y and bit 2 chooses the maximum Z. For example, 0 is the minimum corner and 7 is the maximum corner." args="box, n" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Corner&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;n&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;integer&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#integer&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;},{&#x22;n&#x22;:&#x22;n&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;integer&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#integer&#x22;}],&#x22;d&#x22;:&#x22;The index of the corner, from 0 to 7.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.LengthOfSmallestDimension" summary="Returns the size of the box on its shortest axis." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.LengthOfSmallestDimension&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.LengthOfLargestDimension" summary="Returns the size of the box on its longest axis." args="box" sig="[{&#x22;s&#x22;:&#x22;AABB_t.LengthOfLargestDimension&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.AddPointToBounds" summary="Grows the box so that it contains a point." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.AddPointToBounds&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The point to include.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.AddSphereToBounds" summary="Grows the box so that it contains a sphere." args="box, center, radius" sig="[{&#x22;s&#x22;:&#x22;AABB_t.AddSphereToBounds&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;center&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;radius&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;center&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The center of the sphere.&#x22;},{&#x22;n&#x22;:&#x22;radius&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}],&#x22;d&#x22;:&#x22;The radius of the sphere.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.AddAABBToBounds" summary="Grows the box so that it contains another box." args="box, other" sig="[{&#x22;s&#x22;:&#x22;AABB_t.AddAABBToBounds&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;other&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;other&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to include.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.AddAABBToBounds" summary="Grows the box so that it contains the box given by a minimum and a maximum corner." id="AABB_t-AddAABBToBounds-2" args="box, mins, maxs" sig="[{&#x22;s&#x22;:&#x22;AABB_t.AddAABBToBounds&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;mins&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;maxs&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;mins&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The minimum corner of the box to include.&#x22;},{&#x22;n&#x22;:&#x22;maxs&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The maximum corner of the box to include.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.IntersectWith" summary="Shrinks the box to the part that it shares with another box. If the boxes do not overlap, the result is an invalid box." args="box, other" sig="[{&#x22;s&#x22;:&#x22;AABB_t.IntersectWith&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;other&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;other&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to intersect with.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.SetToPoint" summary="Moves both corners of the box to a point, so the box has a size of 0." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.SetToPoint&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The new position of both corners.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.EnsureMinSize" summary="Grows the box equally on both sides of its center so that its size on each axis is at least the given size. An axis that is already large enough does not change." args="box, min_size" sig="[{&#x22;s&#x22;:&#x22;AABB_t.EnsureMinSize&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;min_size&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;min_size&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The smallest allowed size on each axis.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.Move" summary="Moves both corners of the box by an offset." args="box, delta" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Move&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;delta&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;delta&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The offset to add.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.Expand" summary="Moves both corners of the box outward. The minimum corner moves down by the amount and the maximum corner moves up by the amount. A negative amount shrinks the box." args="box, amount" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Expand&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;amount&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to change.&#x22;},{&#x22;n&#x22;:&#x22;amount&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;},{&#x22;s&#x22;:&#x22;|&#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;A number to use on every axis, or a vector with a separate amount for each axis.&#x22;}]" />

  <ApiMember kind="fn" name="AABB_t.GetMinDistToPoint" summary="Returns the distance from a point to the nearest point of the box. If the point is inside the box, the distance is 0." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetMinDistToPoint&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The point to measure from.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.GetMinAxialDistanceToPoint" summary="Measures how far a point is outside the box on each axis and returns the largest of the three values. If the point is inside the box, the result is 0." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.GetMinAxialDistanceToPoint&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The point to measure from.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.DistanceTo" summary="Returns the distance between the nearest points of two boxes. If the boxes overlap, the distance is 0." args="box, other" sig="[{&#x22;s&#x22;:&#x22;AABB_t.DistanceTo&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;other&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;number&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#number&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The first box.&#x22;},{&#x22;n&#x22;:&#x22;other&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The second box.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.ClosestPoint" summary="Returns the point of the box that is nearest to the given point. If the point is inside the box, the same point is returned." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.ClosestPoint&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The point to project.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.Overlaps" summary="Returns `true` if the two boxes overlap. Boxes that only touch at a face, an edge or a corner also count as overlapping." args="box, other" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Overlaps&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;other&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The first box.&#x22;},{&#x22;n&#x22;:&#x22;other&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The second box.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.ContainsPoint" summary="Returns `true` if the point is inside the box or on its surface." args="box, point" sig="[{&#x22;s&#x22;:&#x22;AABB_t.ContainsPoint&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;point&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The box to read.&#x22;},{&#x22;n&#x22;:&#x22;point&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;Vector&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/vector#vector-1&#x22;}],&#x22;d&#x22;:&#x22;The point to test.&#x22;}]" nodiscard />

  <ApiMember kind="fn" name="AABB_t.Contains" summary="Returns `true` if the other box is completely inside this box. Shared faces are allowed." args="box, other" sig="[{&#x22;s&#x22;:&#x22;AABB_t.Contains&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;box&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;, &#x22;},{&#x22;s&#x22;:&#x22;other&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" params="[{&#x22;n&#x22;:&#x22;box&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The outer box.&#x22;},{&#x22;n&#x22;:&#x22;other&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;AABB_t&#x22;,&#x22;k&#x22;:&#x22;class&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/mathlib/aabb#aabb_t&#x22;}],&#x22;d&#x22;:&#x22;The inner box.&#x22;}]" nodiscard />
</ApiMembers>
