Click or drag to resize
DigitalRuneAabb Structure
Defines an axis-aligned bounding box (AABB).

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
[SerializableAttribute]
public struct Aabb : IEquatable<Aabb>

The Aabb type exposes the following members.

Constructors
  NameDescription
Public methodAabb
Initializes a new instance of Aabb.
Top
Methods
  NameDescription
Public methodStatic memberAreNumericallyEqual(Aabb, Aabb)
Determines whether two AABBs are equal (regarding the tolerance EpsilonF).
Public methodStatic memberAreNumericallyEqual(Aabb, Aabb, Single)
Determines whether two AABBs are equal (regarding the given tolerance).
Public methodContains
Determines whether the current AABB contains a given AABB.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Aabb)
Determines whether the specified Aabb is equal to the current Aabb.
Public methodGetAabb(Pose)
Computes the world space AABB for a rotated and translated AABB.
Public methodGetAabb(Vector3F, Pose)
Computes the world space AABB for a scaled, rotated and translated AABB.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGrow(Aabb)
Grows the AABB so that it includes the given AABB.
Public methodGrow(IGeometricObject)
Grows the AABB so that it includes the AABB of the given geometric object.
Public methodGrow(Vector3F)
Grows the AABB so that it includes the given point.
Public methodStatic memberMerge
Merges the specified AABBs.
Public methodScale
Scales the AABB.
Public methodToString
Returns a String that represents the current Object.
(Overrides ValueTypeToString.)
Public methodTranslate
Translates the AABB.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Tests if two Aabbs are equal.
Public operatorStatic memberInequality
Tests if two Aabbs are different.
Top
Fields
  NameDescription
Public fieldMaximum
The maximum position.
Public fieldMinimum
The minimum position.
Top
Properties
  NameDescription
Public propertyCenter
Gets the center.
Public propertyExtent
Gets the extent vector (Maximum - Minimum).
Public propertyVolume
Gets the volume of this axis-aligned bounding box.
Top
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.

See Also