Method TryChamferAt
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryChamferAt(int, double, double, out GeoPolygonArc3)
Cuts one named corner of the loop back and reports whether it had room.
public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolygonArc3 result)
Parameters
indexintdistance1doubledistance2doubleresultGeoPolygonArc3
Returns
TryChamferAt(int, double, double, out GeoPolygonArc3, Tolerance)
Cuts one named corner of the loop back and reports whether it had room, within a tolerance.
public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolygonArc3 result, Tolerance tolerance)
Parameters
indexintWhich corner to cut.
distance1doubleHow far back along the leg arriving at the corner.
distance2doubleHow far back along the leg leaving it.
resultGeoPolygonArc3The loop with that corner mitred, when it fitted.
toleranceToleranceThe tolerance.
Returns
- bool
true when the corner had room; otherwise, false, and the loop is unchanged.