Table of Contents

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

index int
distance1 double
distance2 double
result GeoPolygonArc3

Returns

bool

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

index int

Which corner to cut.

distance1 double

How far back along the leg arriving at the corner.

distance2 double

How far back along the leg leaving it.

result GeoPolygonArc3

The loop with that corner mitred, when it fitted.

tolerance Tolerance

The tolerance.

Returns

bool

true when the corner had room; otherwise, false, and the loop is unchanged.