Click or drag to resize

AABB Structure

An axis aligned bounding box.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.tainicom.Aether.Physics2D.CollisionAABB

Namespace: Internal.tainicom.Aether.Physics2D.Collision
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct AABB

The AABB type exposes the following members.

Constructors
 NameDescription
Public methodAABB(Vector2, Vector2)Initializes a new instance of the AABB class
Public methodAABB(Vector2, Vector2)Initializes a new instance of the AABB class
Public methodAABB(Vector2, Single, Single)Initializes a new instance of the AABB class
Top
Properties
 NameDescription
Public propertyCenter Get the center of the AABB.
Public propertyExtents Get the extents of the AABB (half-widths).
Public propertyHeight 
Public propertyPerimeter Get the perimeter length
Public propertyQ1 First quadrant
Public propertyQ2 Second quadrant
Public propertyQ3 Third quadrant
Public propertyQ4 Forth quadrant
Public propertyVertices Gets the vertices of the AABB.
Public propertyWidth 
Top
Methods
 NameDescription
Public methodCombine(AABB) Combine an AABB into this one.
Public methodCombine(AABB, AABB) Combine two AABBs into this one.
Public methodContains(AABB) Does this aabb contain the provided AABB.
Public methodContains(Vector2) Determines whether the AAABB contains the specified point.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsValid Verify that the bounds are sorted. And the bounds are valid numbers (not NaN).
Public methodRayCast Raycast against this AABB using the specificed points and maxfraction (found in input)
Public methodStatic memberTestOverlap Test if the two AABBs overlap.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldLowerBound The lower vertex
Public fieldUpperBound The upper vertex
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also