Sphere

D-Dimensional Cartesian (Hyper)-Sphere with Element (Component) Type E.

struct Sphere (
E
uint D
) if (
D >= 2 &&
isNumeric!E
) {
CenterType center;
E radius;
@property
real n;
}

Meta