Vector3Real

public protocol Vector3Real : Vector3FloatingPoint, VectorReal where Self.SubVector2 : Vector2Real

Protocol for 3D vector types where the components are Real numbers

  • The XY-plane angle of this vector

    Declaration

    Swift

    var azimuth: Scalar { get }
  • The elevation angle of this vector, or the angle between the XY plane and the vector.

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

    Declaration

    Swift

    var elevation: Scalar { get }