Defines an axis-aligned bounding box (AABB).
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)
Syntax
| C# |
|---|
[SerializableAttribute] [ObfuscationAttribute(Feature = "controlflow")] public struct Aabb : IEquatable<Aabb> |
| Visual Basic |
|---|
<SerializableAttribute> _ <ObfuscationAttribute(Feature := "controlflow")> _ Public Structure Aabb _ Implements IEquatable(Of Aabb) |
| Visual C++ |
|---|
[SerializableAttribute] [ObfuscationAttribute(Feature = L"controlflow")] public value class Aabb : IEquatable<Aabb> |
Remarks
This type is used to represent a bounding volume. It is like a box where the faces are aligned to the axes of the coordinate space.
An AABB is defined by the positions of the Minimum and the Maximum box corner. Minimum must be less than Maximum. But this rule is not enforced; no exceptions are thrown in the setter of the properties.