|
Boost Users : |
Subject: [Boost-users] [Polygon] Test among 3 libraries
From: TONGARI (tongari95_at_[hidden])
Date: 2010-08-01 09:25:28
Hi,
I just modified a test program taken from AGG's examples to test the polygon
clipping capability of following libraries.
*Boost.Polygon
*GPC
*Clipper
Here are some observations:
1) The proccesing speed (fastest to slowest): Clipper > GPC > Boost.Polygon
2) With "xor", although the results seems the same, they have different
countours numbers (Clipper the least).
3) Boost.Polygon has a strange behavior that it sometimes produces erroneous
vertical lines within the polygons.
In this example, with "or" operation you'll see that.
I put the test files here:
*http://tinyurl.com/2axoqxc
Anyone who wants to compile it will also need AGG and *Clipper on your
computer.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net