静态EPSILONEPSILON
The internal epsilon value that determines validity and used for block volume tolerance.
静态createcreateFromCornerPoints
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.
静态dilatedilate
Creates a dilated AABB given a source AABB and dilation vector.
AABBInvalidExtentError This exception is thrown if the input AABB is invalid.
静态equalsequals
Compares the equality of two AABBs.
AABBInvalidExtentError This exception is thrown if either of the input AABBs are invalid.
静态expandexpand
Creates an expanded AABB given two source AABBs.
AABBInvalidExtentError This exception is thrown if either of the input AABBs are invalid.
静态getgetBlockVolume
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.
静态getgetIntersection
Creates an AABB of the intersecting area of two source AABBs.
AABBInvalidExtentError This exception is thrown if either of the input AABBs are invalid.
静态getgetMax
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.
静态getgetMin
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.
静态getgetSpan
Gets the span of an AABB.
The AABB to retrieve the span of.
AABBInvalidExtentError This exception is thrown if the input AABB is invalid.
静态intersectsintersects
Calculates if two AABBs are intersecting.
AABBInvalidExtentError This exception is thrown if either of the input AABBs are invalid.
静态isisInside
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.
静态isisValid
Determines if the AABB has non-zero extent on all axes.
The AABB to test for validity.
静态throwthrowErrorIfInvalid
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.
静态translatetranslate
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.