LuciadRIA (2026.0.07)
    Preparing search index...
    • Creates a quadratic Bézier curve that transitions smoothly between first and the last control point.


      A quadratic Bézier curve is defined by this equation:
      F(t) = controlPoint0 * (1-t)^2 + 2(1-t) * t * controlPoint1 + controlPoint2 * t^2

      Cubic Bézier curve


      At t=0 the function evaluates to controlPoint0
      At t=1 the function evaluates to controlPoint2


      For other values between 0 and 1, the function will evaluate to a quadratic curve tending to controlPoint1.

      Parameters

      • reference: CoordinateReference

        The coordinate reference in which the Bézier curve is defined

      • controlPoint0: Point

        The first control point that is the start of the Bézier curve

      • controlPoint1: Point

        The second control point

      • controlPoint2: Point

        The third control point that is the end of the Bézier curve

      Returns BezierCurve

      2024.1