dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
Box.squaredDistance
dplug
math
box
Box
Euclidean squared distance from a point.
real
squaredDistance
(bound_t point)
struct
Box
(T, int N)
@
nogc
pure const nothrow
real
squaredDistance
(
bound_t
point
)
real
squaredDistance
(Box o)
See Also
Numerical Recipes Third Edition (2007)
Meta
Source
See Implementation
dplug
math
box
Box
aliases
bound_t
constructors
this
functions
abs
contains
distance
expand
grow
intersection
intersects
isSorted
opAssign
opCast
opEquals
scaleByFactor
shrink
squaredDistance
translate
properties
center
depth
empty
height
size
volume
width
static functions
rectangle
variables
max
min
Euclidean squared distance from a point.