Deepnest
Deepnest copied to clipboard
Compiling Minkowski without Boost
Hello,
I would like to compile minkowski.cc without Boost. I think all I need to do is replaced calculateNFP(), but I need a little guidance on how to do that.
Does the clipper library have the same functions? If so, how would I replace calculateNFP() code with code from clipper library? Please show an example, if possible. Thanks.
I think there is no reason to replace the boost in this project.
the only purpose of minkowski.cc is to integrate Boost, in order to use Boost Geometry. If you would like to remove it you can use the minkowski implementation in Clipper. This is what SVGnest does, so you can just use that code instead.
Boost geometry is a lot more reliable than clipper's minkowski implementation, which seems to produce small spurious paths which need to be filtered out.