LinearBezier2

  • Returns the minimal bounding region for this linear Bézier curve. It is simply the minimal axis-aligned bounding region for the two control points.

    Declaration

    Swift

    @inlinable
    public func boundingRegion() -> (minimum: Output, maximum: Output)
  • Returns the result of rotating the points of this Bézier curve by angleInRadians around the origin.

    Declaration

    Swift

    public func rotated(by angleInRadians: Output.Scalar) -> LinearBezier<Output>
  • Declaration

    Swift

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