Line2Real

public protocol Line2Real : Line2FloatingPoint where Self.Vector : Vector2Real

Protocol for 2D line types where the vectors are real vectors.

  • angle Default implementation

    Returns the angle of this line, in radians

    Default Implementation

    Returns the angle of this line, in radians

    Declaration

    Swift

    var angle: Vector.Scalar { get }