# Contains

> Tests if the input point is contained by the AABB.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics.Geometry](/engine/6000.6/script-reference/unity/mathematics/geometry.md)
* **Assembly:** UnityEngine.MathematicsModule

## Contains(float3)

Tests if the input point is contained by the AABB.

```csharp
public bool Contains(float3 point)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): Point to test.

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if AABB contains the input point. |

## Contains(MinMaxAABB)

Tests if the input AABB is contained entirely by this AABB.

```csharp
public bool Contains(MinMaxAABB aabb)
```

### Parameters

**** (\[MinMaxAABB]\(/engine/6000.6/script-reference/unity/mathematics/geometry/minmaxaabb)): AABB to test.

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if input AABB is contained entirely by this AABB. |
