Line3Type

public protocol Line3Type : LineType where Self.Vector : Vector3Type

A line that is described by two 3-dimensional vectors.

  • The 2D type of this 3D line.

    Declaration

    Swift

    associatedtype SubLine2 : Line2Type where Self.SubLine2.Vector == Self.Vector.SubVector2
  • Creates a 2D line of the same underlying type as this line.

    Declaration

    Swift

    static func make2DLine(_ a: SubLine2.Vector, _ b: SubLine2.Vector) -> SubLine2