bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
BoundingBox.surfaceArea
bettercmath
box
BoundingBox
Get the surface area of a 3D BoundingBox.
struct
BoundingBox
(T, uint Dim, BoundingBoxOptions options = BoundingBoxOptions.none)
@
property
const
static if
(
Dim == 3
)
T
surfaceArea
(
)
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
Get the surface area of a 3D BoundingBox.