Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<PointD> SmoothArc(PointD, double, double, double, double, double)

  • Declared in: RT.Util.Geometry.GeomUt

Declaration

public static IEnumerable<PointD> SmoothArc(
    PointD center,
    double a,
    double b,
    double t1,
    double t2,
    double smoothness
)

Summary

Generates a series of points that approximate an elliptic arc curve.

Parameters

PointDcenter Center of the ellipse.
doublea Horizontal radius of the ellipse.
doubleb Vertical radius of the ellipse.
doublet1 Parameter at which the ellipse starts. If it’s a circle, this is the angle from the x-axis, but for ellipses it is stretched, so it’s not the real angle.
doublet2 Parameter at which the ellipse end. If it’s a circle, this is the angle from the x-axis, but for ellipses it is stretched, so it’s not the real angle.
doublesmoothness Maximum amount by which the line segments are allowed to deviate from the curve.