DerivableBezierType

public protocol DerivableBezierType : BezierType

Protocol for Bézier curve types that can be derived.

Derivatives of Bézier curves produce other Bézier curves of one degree less.

  • The type for derivatives of this Bézier curve type.

    Declaration

    Swift

    associatedtype DerivativeBezier : BezierType where Self.Input == Self.DerivativeBezier.Input, Self.Output == Self.DerivativeBezier.Output
  • Creates a derivative for this Bézier curve.

    Declaration

    Swift

    func derivate() -> DerivativeBezier