Box.distance

Euclidean distance from a point.

struct Box(T, size_t N)
@safe @nogc
double
distance
(
U
)
(
Vector!(U, N) point
)

See Also

squaredDistance.

Meta