Sphere

Constructors

this
this(PointType center_, T radius_)

Members

Aliases

PointType
alias PointType = Vector!(T, N)

Functions

area
T area()

Returns circle area.

contains
bool contains(Sphere s)
distanceTo
T distanceTo(PointType p)
intersects
bool intersects(Sphere s)
squaredDistanceTo
T squaredDistanceTo(PointType p)

Variables

center
PointType center;
radius
T radius;

Meta