Bezier2Type

public protocol Bezier2Type : BezierType where Self.Output : Bezier2PointType

A 2-dimensional Bézier curve type.

  • Returns the result of rotating the points of this Bézier curve by angleInRadians around the origin.

    Declaration

    Swift

    func rotated(by angleInRadians: Output.Scalar) -> Self
  • Returns the result of alining this Bézier curve by translating and rotating its control points such that they are resting on the origin line, transformed along the given line.

    Declaration

    Swift

    func aligned(along line: LinearBezier2<Output>) -> Self