Box.squaredDistance

Euclidean squared distance from a point.

struct Box(T, size_t N)
@safe @nogc
double
squaredDistance
pure const nothrow
(
U
)
(
Vector!(U, N) point
)

See Also

Numerical Recipes Third Edition (2007)

Meta