set

fun set(radius: Double, phi: Double, theta: Double): Spherical

Sets the spherical components by copying the given values.

Return

A reference to this spherical.

Parameters

radius

The radius.

phi

The polar angle.

theta

The azimuthal angle.