BoundingBox structure¶
Represents an axis-aligned bounding box that encloses the vertices of a mesh or of a model.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Public Members¶
| name | description |
|---|---|
| BoxVertices { 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 { get; } | Gets the point at the center of the box. |
| Max { get; } | Gets the corner with the largest coordinates on every axis. |
| Min { get; } | Gets the corner with the smallest coordinates on every axis. |
| Radius { get; } | Gets the distance from the center to the farthest corner of the box. |
| Size { get; } | Gets the length of the box along each axis. |
See Also¶
- namespace Eremex.AvaloniaUI.Controls3D