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.
The first corner point.
The second corner point.
AABBInvalidExtentError * This exception is thrown if the resulting AABB is invalid. * *
Staticdilatedilate
Creates a dilated AABB given a source AABB and dilation vector.
The source AABB.
The dilation vector to add to the AABBs extent.
AABBInvalidExtentError * This exception is thrown if the input AABB is invalid. * *
Staticequalsequals
Compares the equality of two AABBs.
The first AABB in the comparison.
The second AABB in the comparison.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
Staticexpandexpand
Creates an expanded AABB given two source AABBs.
The first source AABB.
The second source AABB.
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.
The first source AABB.
The second source AABB.
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.
The first AABB.
The second AABB.
AABBInvalidExtentError * This exception is thrown if either of the input AABBs are invalid. * *
StaticisisInside
Calculates if a position is inside of an AABB.
The AABB to test against.
The position to test.
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.
The source AABB.
The translation vector to add to the AABBs center.
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.