bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
BoundingBox.intersection
bettercmath
box
BoundingBox
Returns the intersection between two BoundingBoxes.
struct
BoundingBox
(T, uint Dim, BoundingBoxOptions options = BoundingBoxOptions.none)
const
auto
intersection
(
Args
...
)
(
const
auto
ref
BoundingBox
!(
T
,
Args
)
box
)
if
(
Dim
> 0
)
Meta
Source
See Implementation
bettercmath
box
BoundingBox
aliases
ElementType
Point
Size
area
functions
abs
contains
inset
intersection
intersects
opCast
manifest constants
dimension
properties
center
depth
empty
end
height
surfaceArea
volume
width
variables
origin
size
Returns the intersection between two BoundingBoxes.