StaticEPSILONEPSILON
The internal epsilon value that determines validity and used for block volume tolerance.
StaticcreatecreateFromCornerPoints
Gets an AABB from points defining it's corners, the order doesn't matter.
AABBInvalidExtentError * This exception is thrown if the resulting AABB is invalid. * *
Staticdilatedilate
Creates a dilated AABB given a source AABB and dilation vector.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
Staticequalsequals
Compares the equality of two AABBs.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
Staticexpandexpand
Creates an expanded AABB given two source AABBs.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
StaticgetgetBlockVolume
Creates the smallest BlockVolume that includes all of a source AABB.
The source AABB.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
StaticgetgetIntersection
Creates an AABB of the intersecting area of two source AABBs.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
StaticgetgetMax
Gets the maximum corner of an AABB.
The AABB to retrieve the maximum corner of.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
StaticgetgetMin
Gets the minimum corner of an AABB.
The AABB to retrieve the minimum corner of.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
StaticgetgetSpan
Gets the span of an AABB.
The AABB to retrieve the span of.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
Staticintersectsintersects
Calculates if two AABBs are intersecting.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
StaticisisInside
Calculates if a position is inside of an AABB.
True if the position is inside of the AABB, otherwise returns false.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
StaticisisValid
Determines if the AABB has non-zero extent on all axes.
The AABB to test for validity.
StaticthrowthrowErrorIfInvalid
Throws an error if the AABB is invalid.
The AABB to test for validity.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid.
Statictranslatetranslate
Creates a translated AABB given a source AABB and translation vector.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
Utilities operating on AABB objects. All methods are static and do not modify the input objects.