LineSegment2
extension LineSegment2: Line2Type
extension LineSegment2: Line2Multiplicative where Vector: Vector2Multiplicative
extension LineSegment2: Line2Signed where Vector: Vector2Signed
extension LineSegment2: Line2FloatingPoint where Vector: Vector2FloatingPoint
extension LineSegment2: Line2Real where Vector: Vector2Real
-
Declaration
Swift
public init(x1: Scalar, y1: Scalar, x2: Scalar, y2: Scalar)