Skip to content

Commit 23b7f88

Browse files
committed
add clarifying comment
1 parent 8c09de6 commit 23b7f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/boolean-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ tape('unions', (test) => {
8888
const union = Polygon.union([u1, u2, u3], undefined, true);
8989
test.equal(Math.abs(total(union.map(u => u.area)) - (u1.area + u2.area + u3.area)) < 1, true);
9090

91-
// Using round on these two will produce a zero segment error.
91+
// if you change useRound to true on this union it will produce a zero segment error.
9292
const polyList = [
9393
new Polygon(new Point(1167.2641162274222, 3633.834721294776), new Point(1342.2641162274222, 3330.7258299702225), new Point(1167.2641162274222, 3330.7258299702225), new Point(1079.7641162274222, 3482.2802756324995)),
9494
new Polygon(new Point(1692.26, 3936.95), new Point(1342.26, 3936.94), new Point(1254.76, 4088.49), new Point(1079.76, 4088.49), new Point(992.26, 3936.94), new Point(992.27, 3936.94), new Point(1167.26, 3633.83), new Point(1167.2636603221083, 3633.8336603221082), new Point(1342.26, 3330.74), new Point(1517.2542265184259, 3633.84), new Point(1692.26, 3633.84), new Point(1779.76, 3785.39))

0 commit comments

Comments
 (0)