PolylineFilletExtensionMethods

public static class PolylineFilletExtensionMethods
Corner filleting for polylines, limited to what each corner can accommodate.

Methods

CornerFillets

#Example
public static Arc[] CornerFillets(this Polyline polyline, double targetRadius)
Compute the largest possible fillet arc at every corner of a polyline, up to a target radius.
polyline (Polyline)Polyline to fillet. Open or closed.
targetRadius (double)Radius to aim for at every corner.
One arc per polyline vertex, Arc.Unset where no fillet is possible.

FilletCorners

#Example
public static Curve FilletCorners(this Polyline polyline, Arc[] fillets)
Build the curve which results from replacing the corners of a polyline with the given fillet arcs.
polyline (Polyline)Polyline to fillet.
fillets (Arc[])One arc per vertex.
A polycurve of lines and arcs, or the polyline itself as a curve if nothing was filleted.