# CaptureBounds

<Badge tone="type">record · sealed</Badge> <Badge>thread-safe</Badge>

```csharp
namespace AR51.Net;

public sealed record CaptureBounds(Vector3 Center, Vector3 Size);
```

The tracked area: a box in the AR 51 world (meters; left-handed, X right, Y up, Z forward).

:::note[Units]
Positions are in **meters**, in the AR 51 world: **left-handed, X right, Y up, Z forward** (the same axes as Unity). See [Data conventions](/docs/csharp-api/conventions/).
:::

:::tip[How-to]
This page is **reference** (facts only). For a walkthrough with a complete sample, see the [Calibration guide](/docs/csharp-api/calibration/).
:::

## Properties

Positional record: set them in the constructor, read them as properties, and copy with changes using `with`.

<div className="apiPropTable apiTable">

| Property | Type | Description |
|---|---|---|
| `Center` | [`Vector3`](https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector3) | The middle of the area. |
| `Size` | [`Vector3`](https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector3) | The full width (X), height (Y) and depth (Z) of the area. |

</div>

<div className="apiPropTable apiTable">

| Property | Type | Access | Description |
|---|---|---|---|
| `Min` | [`Vector3`](https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector3) | `get` | The corner with the smallest X, Y and Z. |
| `Max` | [`Vector3`](https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector3) | `get` | The corner with the largest X, Y and Z. |

</div>

## Method summary

<div className="apiTable">

| Method | Returns | |
|---|---|---|
| [`Contains`](#contains) | `bool` |  |

</div>

→ Full descriptions in [Method details](#method-details) below.

## Method details

### Contains

<ApiBody kind="method">

```csharp
public bool Contains(Vector3 point);
```

Whether a point is inside the area (edges included).

<Params>
<Param name="point" type="Vector3" typeHref="https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector3">A point in the AR 51 world, in meters.</Param>
</Params>

<Returns type="bool">`true` when the point is inside.</Returns>

</ApiBody>

## See also

- [Calibration guide](/docs/csharp-api/calibration/) — walkthrough with a complete, compiled sample
- [Class index](/docs/sdk-api/csharp-api/classes/) — every AR51.Net type
- [Data conventions, threading and errors](/docs/csharp-api/conventions/)
