Skip to content

Fixed issue with SegmentChainer

Compare
Choose a tag to compare
@idormenco idormenco released this 19 Jan 17:19
· 9 commits to master since this release

V1.5.1
Install-Package Polybool.Net -Version 1.5.1
Added overloads to the logical operations to work directly with polygons.

var p1 = new Polygon(...
var p2 = new Polygon(...
Polygon unified = SegmentSelector.Union(p1, p2); 
Polygon unified = SegmentSelector.Intersect(p1, p2); 
Polygon unified = SegmentSelector.Difference(p1, p2); 
Polygon unified = SegmentSelector.DifferenceRev(p1, p2); 
Polygon unified = SegmentSelector.Xor(p1, p2);