mirror of https://github.com/CGAL/cgal
The example now uses the new API
This commit is contained in:
parent
6295c772ee
commit
407c3a1fec
|
|
@ -55,8 +55,8 @@ int main()
|
|||
if(intersection.first)
|
||||
{
|
||||
// gets intersection object
|
||||
if(boost::get<Point>(&*intersection.first)
|
||||
std::cout << "intersection object is a point" << std::endl;
|
||||
if(boost::get<Point>(&*intersection.first))
|
||||
std::cout << "intersection object is a point" << std::endl;
|
||||
}
|
||||
|
||||
// computes all intersections with segment query (as pairs object - primitive_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue