Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Minkowski without Boost #54

Open
samsonsite1 opened this issue Mar 14, 2019 · 2 comments
Open

Compiling Minkowski without Boost #54

samsonsite1 opened this issue Mar 14, 2019 · 2 comments

Comments

@samsonsite1
Copy link

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.

@PowPodg
Copy link

PowPodg commented Apr 4, 2019

I think there is no reason to replace the boost in this project.

@Jack000
Copy link
Owner

Jack000 commented Apr 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants