Source Academy Modules
    Preparing search index...

    Variable connect_rigidlyConst

    connect_rigidly: (curve1: Curve, curve2: Curve) => Curve = CurveFunctions.connect_rigidly

    This function is a binary Curve operator: It takes two Curves as arguments and returns a new Curve. The two Curves are combined by using the full first Curve for the first portion of the result and by using the full second Curve for the second portion of the result. The second Curve is not changed, and therefore there might be a big jump in the middle of the result Curve.

    Type Declaration

      • (curve1: Curve, curve2: Curve): Curve
      • Parameters

        • curve1: Curve

          first Curve

        • curve2: Curve

          second Curve

        Returns Curve

        result Curve