Compile CGAL for iOS / alternative cad 2D library?

I hope to use CGAL in the iOS / iPad app. I am an experienced iOS developer, but I have never tried including a C ++ library such as this one and I have not used CGAL before. Extensive research has shown that this is the best option for me (I need a free open source license and a wide range of 2D geometry methods, including tangent / normal vectors at arbitrary points on the bezier, bezier offset, bezier intersection, etc. I especially CGAL's attracts “arrangements” that allow logical operations with enclosed spaces, although this function is not a make-or-break function). I am open to other alternatives, but I have looked through dozens of libraries to come to this - I would rather have this discussion related to CGAL than other suggestions unless you have a very good reason to suggest a different direction.

Ideally, I hope someone can give me a step-by-step guide on how to get to the “hello world” CGAL in iOS .... maybe building a line between two points. I do not need CGAL to render for me, but I would also be open to suggestions from those who had previously tried to use similar combinations of elements. I am using the current version of Xcode and would like to stick with LLVM compilation (which now supports CGAL ).

+6
source share
1 answer

CGAL supports Apple llvm / clang, but only on MacOS X. The reason is that the inside of the CGAL kernel needs special support for the floating-point module. This support has not yet been used for iOS processors.

+1
source

All Articles