Shape.Circle

Creates a circle.

struct Shape(T : float)
@safe nothrow pure static
Circle
(,
T r
)
if (
isNumeric!T &&
isMutable!T
&&
isSigned!T
)

Parameters

pos Vector!T

Circle position.

r T

Circle radius.

Return Value

Type: Shape!T

Circle.

Meta