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
indexintWhich vertex to round; the two ends have no corner to round.
radiusdoubleThe radius of the arc to put there.
resultGeoPolylineArc2The 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
indexintradiusdoubleresultGeoPolylineArc2toleranceTolerance