我试图在Mac Os Capitan上安装CGAL 4.7与Qt5。在构建目录中的cmake后的配置如下: -- The CXX compiler identification is AppleClang 7.0.0.7000176
-- The C compiler identification is AppleClang 7.0.0.7000176
-- Check for working
在CGAL中,我需要计算一组线和一组圆之间的确切交点。从圆圈开始(可以有无理的半径,但有理的squared_radius),我应该计算穿过每个圆的x_extremal_points(不是线段而是线)的垂直线,并计算每个圆与每条线的交点。 我对Circle和Line_2使用了CircularKernel和Circle_2作为行。 下面是我如何计算圆和线以及如何检查它们是否相交的示例。 int mai