Table of Contents

Method TryFilletAt

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryFilletAt(int, double, out GeoPolylineArc2)

Rounds one corner of the chain, using the default tolerance.

public bool TryFilletAt(int index, double radius, out GeoPolylineArc2 result)

Parameters

index int

Which vertex to round; the two ends have no corner to round.

radius double

The radius of the arc to put there.

result GeoPolylineArc2

The filleted chain, or the chain unchanged when the method returns false.

Returns

bool

true if the corner had room for the arc; otherwise, false.

TryFilletAt(int, double, out GeoPolylineArc2, Tolerance)

Rounds one corner of the chain, within a tolerance.

public bool TryFilletAt(int index, double radius, out GeoPolylineArc2 result, Tolerance tolerance)

Parameters

index int
radius double
result GeoPolylineArc2
tolerance Tolerance

Returns

bool