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 GeoPolygonArc2 Fillet(double radius)

Parameters

radius double

Returns

GeoPolygonArc2

Fillet(double, Tolerance)

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

public GeoPolygonArc2 Fillet(double radius, Tolerance tolerance)

Parameters

radius double
tolerance Tolerance

Returns

GeoPolygonArc2

Fillet(IReadOnlyList<double>)

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

public GeoPolygonArc2 Fillet(IReadOnlyList<double> radii)

Parameters

radii IReadOnlyList<double>

One radius per vertex, read the way GetBulgeAt(int) is read; zero leaves that corner alone.

Returns

GeoPolygonArc2

The filleted loop.

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 loop leaves the rest alone.

Fillet(IReadOnlyList<double>, Tolerance)

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

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

Parameters

radii IReadOnlyList<double>
tolerance Tolerance

Returns

GeoPolygonArc2