Table of Contents

Method Fillet

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Fillet(double)

Rounds every corner that has room for it with an arc of a given radius.

public GeoPolylineArc2 Fillet(double radius)

Parameters

radius double

The radius of the arcs.

Returns

GeoPolylineArc2

The filleted chain; corners between two straight edges are rounded and the rest are left alone.

Fillet(double, Tolerance)

Rounds every corner that has room for it with an arc of a given radius, within a tolerance.

public GeoPolylineArc2 Fillet(double radius, Tolerance tolerance)

Parameters

radius double
tolerance Tolerance

Returns

GeoPolylineArc2

Fillet(IReadOnlyList<double>)

Rounds the corners of the chain, each by its own radius.

public GeoPolylineArc2 Fillet(IReadOnlyList<double> radii)

Parameters

radii IReadOnlyList<double>

One radius per vertex, read the way GetBulgeAt(int) is read; zero leaves that corner alone; the two ends have no corner to round.

Returns

GeoPolylineArc2

The filleted chain.

Remarks

Where two neighbouring corners together ask for more than the edge between them is long, the one taking more of it gives way, so a corner asking for a large radius yields to a small one rather than the other way round. A list shorter than the chain leaves the rest alone.

Fillet(IReadOnlyList<double>, Tolerance)

Rounds the corners of the chain, each by its own radius, within a tolerance.

public GeoPolylineArc2 Fillet(IReadOnlyList<double> radii, Tolerance tolerance)

Parameters

radii IReadOnlyList<double>
tolerance Tolerance

Returns

GeoPolylineArc2