Table of Contents

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

index int
distance1 double
distance2 double
result GeoPolygon2

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

index int
distance1 double
distance2 double
result GeoPolygon2
tolerance Tolerance

Returns

bool

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