Sphere Interface

public interface Sphere

The Sphere constructor: Sphere(...) makes one (see new_sphere for its arguments).

Calls

interface~~sphere~~CallsGraph interface~sphere Sphere proc~new_sphere new_sphere interface~sphere->proc~new_sphere

Module Procedures

private function new_sphere(name, radius, color) result(s)

A sphere named name, of radius radius (default 1) and color color ([r, g, b] or [r, g, b, a]; default white, 90% opaque).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

the frame's name

real(kind=wp), intent(in), optional :: radius

scene units (default 1)

real(kind=wp), intent(in), optional :: color(:)

[r, g, b] or [r, g, b, a] (0 to 1)

Return Value type(Sphere)