bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
BoundingBox.center
bettercmath
box
BoundingBox
Get the central point of BoundingBox.
Point
center
[@property getter]
struct
BoundingBox
(T, uint Dim, BoundingBoxOptions options = BoundingBoxOptions.none)
@
property
const
Point
center
(
)
if
(
Dim
> 0
)
PointArg
center
[@property setter]
T
center
[@property setter]
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
Get the central point of BoundingBox.