Table of Contents

Method TryFilletAt

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryFilletAt(int, double, out GeoPolygonArc2)

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

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

Parameters

index int

Which vertex to round.

radius double

The radius of the arc to put there.

result GeoPolygonArc2

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

Returns

bool

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

TryFilletAt(int, double, out GeoPolygonArc2, Tolerance)

Rounds one corner of the loop, within a tolerance.

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

Parameters

index int
radius double
result GeoPolygonArc2
tolerance Tolerance

Returns

bool