Class Spherical

Spherical.

Hierarchy

  • Spherical

Constructors

Properties

Methods

Constructors

  • Build the initial state of the sphere.

    Parameters

    • Optional radius: number

      Spherical radius, default is 1.0.

    • Optional phi: number

      Angle with the x-axis, default is 0.

    • Optional theta: number

      Angle with the z-axis, default is 0.

    Returns Spherical

Properties

phi: number

In the xoy plane, the angle with the x-axis.

radius: number

Spherical radius.

theta: number

Angle with z-axis.

Methods

  • Set spherical state

    Returns

    Spherical.

    Parameters

    • radius: number

      Spherical radius.

    • phi: number

      Angle with the x-axis.

    • theta: number

      Angle with the z-axis.

    Returns Spherical

Generated using TypeDoc