BetaPrivateconstructorStaticcreateCreate a validated instance of a BlockBoundingBox where the min and max components are guaranteed to be (min <= max)
This function can't be called in read-only mode.
StaticdilateReturn a new BlockBoundingBox object representing the changes
Expand a BlockBoundingBox by a given amount along each axis. Sizes can be negative to perform contraction. Note: corners can be inverted if the contraction size is greater than the span, but the min/max relationship will remain correct
This function can't be called in read-only mode.
StaticequalsCheck if two BlockBoundingBox objects are identical
This function can't be called in read-only mode.
StaticexpandA new BlockBoundingBox instance representing the smallest possible bounding box which can encompass both
Expand the initial box object bounds to include the 2nd box argument. The resultant BlockBoundingBox object will be a BlockBoundingBox which exactly encompasses the two boxes.
This function can't be called in read-only mode.
StaticgetNote that BlockBoundingBox objects represent whole blocks, so the center of boxes which have odd numbered bounds are not mathematically centered... i.e. a BlockBoundingBox( 0,0,0 -> 3,3,3 ) would have a center of (1,1,1) (not (1.5, 1.5, 1.5) as expected)
Calculate the center block of a given BlockBoundingBox object.
This function can't be called in read-only mode.
StaticgetCalculate the BlockBoundingBox which represents the union area of two intersecting BlockBoundingBoxes
This function can't be called in read-only mode.
StaticgetGet the Span of each of the BlockBoundingBox Axis components
This function can't be called in read-only mode.
StaticintersectsCheck to see if two BlockBoundingBox objects intersect
This function can't be called in read-only mode.
StaticisCheck to see if a given coordinate is inside a BlockBoundingBox
This function can't be called in read-only mode.
StaticisCheck to see if a BlockBoundingBox is valid (i.e. (min <= max))
This function can't be called in read-only mode.
StatictranslateReturn a new BlockBoundingBox object which represents the change
Bounding Box Utils is a utility class that provides a number of useful functions for the creation and utility of BlockBoundingBox objects