bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
BoundingBox.size
bettercmath
box
BoundingBox
Set the size of a BoundingBox, using
origin
as the pivot.
Size
size
;
Size
size
[@property getter]
SizeArg
size
[@property setter]
struct
BoundingBox
(T, uint Dim, BoundingBoxOptions options = BoundingBoxOptions.none)
@
property
static if
(!(
storeSize
))
void
size
(
const
SizeArg
value
)
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
Set the size of a BoundingBox, using origin as the pivot.