PolylineFilletExtensionMethods

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

Methods

CornerFillets

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

FilletCorners

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