Table of Contents

Method TryChamferAt

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryChamferAt(int, double, double, out GeoPolyline2)

Chamfers one corner, using the default tolerance.

public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolyline2 result)

Parameters

index int
distance1 double
distance2 double
result GeoPolyline2

Returns

bool

true if the corner had room for the cut; otherwise, false.

TryChamferAt(int, double, double, out GeoPolyline2, Tolerance)

Chamfers one corner, within a tolerance.

public bool TryChamferAt(int index, double distance1, double distance2, out GeoPolyline2 result, Tolerance tolerance)

Parameters

index int
distance1 double
distance2 double
result GeoPolyline2
tolerance Tolerance

Returns

bool

true if the corner had room for the cut; otherwise, false.