SphereProjectiveSpace

public protocol SphereProjectiveSpace : ProjectiveSpace where Self.Vector : Vector3Type

A projected space laying on the surface of a 3-dimensional sphere, with a 2-dimensional underlying space where vectors represent the azimuth (XY angle of the points) and elevation (the angle between the point and the XY-plane on the sphere).

  • Declaration

    Swift

    associatedtype Scalar : Real where Self.Coordinates == SphereCoordinates<Self.Scalar>, Self.Scalar == Self.Vector.Scalar