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
indexintWhich vertex to round.
radiusdoubleThe radius of the arc to put there.
resultGeoPolygonArc2The 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
indexintradiusdoubleresultGeoPolygonArc2toleranceTolerance