SphereCoordinates

public struct SphereCoordinates<Scalar> : Equatable where Scalar : Real

Coordinates on a sphere projective space.

  • The azimuth, or XY-plane angle in 3D space, of this coordinate in radians.

    Declaration

    Swift

    public var azimuth: Scalar
  • The elevation angle of this coordinate in radians, or the angle between the XY plane and the point in 3D space.

    Returns zero, if the vector’s length is zero.

    Declaration

    Swift

    public var elevation: Scalar
  • Undocumented

    Declaration

    Swift

    public init(azimuth: Scalar, elevation: Scalar)