# BoundingBox structure

Represents an axis-aligned bounding box that encloses the vertices of a mesh or of a model.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public struct BoundingBox
```

## Public Members

| name | description |
| --- | --- |
| [BoxVertices](BoundingBox/BoxVertices.md) { get; } | Gets the positions of the eight corners of the box. The first four corners form the face at Min.Z, and the remaining four form the face at Max.Z. |
| [Center](BoundingBox/Center.md) { get; } | Gets the point at the center of the box. |
| [Max](BoundingBox/Max.md) { get; } | Gets the corner with the largest coordinates on every axis. |
| [Min](BoundingBox/Min.md) { get; } | Gets the corner with the smallest coordinates on every axis. |
| [Radius](BoundingBox/Radius.md) { get; } | Gets the distance from the center to the farthest corner of the box. |
| [Size](BoundingBox/Size.md) { get; } | Gets the length of the box along each axis. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls3D](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
