Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<PointD> SmoothBézier(PointD, PointD, PointD, PointD, double)

  • Declared in: RT.Util.Geometry.GeomUt

Declaration

public static IEnumerable<PointD> SmoothBézier(
    PointD start,
    PointD c1,
    PointD c2,
    PointD end,
    double smoothness
)

Summary

Generates a series of points that approximate a cubic Bézier curve.

Parameters

PointDstart Start point of the curve.
PointDc1 First control point.
PointDc2 Second control point.
PointDend End point of the curve.
doublesmoothness Maximum amount by which the line segments are allowed to deviate from the curve.