Method TryChamferAt
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryChamferAt(int, double, double, out GeoPolygon2)
Chamfers one corner, using the default tolerance.
public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolygon2 result)
Parameters
indexintdistance1doubledistance2doubleresultGeoPolygon2
Returns
- bool
true if the corner had room for the cut; otherwise, false.
TryChamferAt(int, double, double, out GeoPolygon2, Tolerance)
Chamfers one corner, within a tolerance.
public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolygon2 result, Tolerance tolerance)
Parameters
indexintdistance1doubledistance2doubleresultGeoPolygon2toleranceTolerance
Returns
- bool
true if the corner had room for the cut; otherwise, false.