Table of Contents

Method Chamfer

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Chamfer(double)

Cuts every corner of the loop back by the same distance.

public GeoPolygonArc3 Chamfer(double distance)

Parameters

distance double

Returns

GeoPolygonArc3

Chamfer(double, Tolerance)

Cuts every corner of the loop back by the same distance, within a tolerance.

public GeoPolygonArc3 Chamfer(double distance, Tolerance tolerance)

Parameters

distance double

How far back along each leg to cut.

tolerance Tolerance

The tolerance.

Returns

GeoPolygonArc3

The loop with its corners mitred.

Remarks

The loop keeps every cut the tolerance keeps, as the loop laid out in its plane does: at a millionth, the rectangle 100 by 50 standing in the plane x = 20 and chamfered by 0.0003 is eight corners, where it was put back together within the global tolerance of a thousandth and came back its four.

Exceptions

ArgumentOutOfRangeException

Thrown when the distance is not a positive number.