Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] example of parsing the element of isect_list of cgal::intersection(o1, o2, o3, isect_list)

Subject: CGAL users discussion list

List archive

[cgal-discuss] example of parsing the element of isect_list of cgal::intersection(o1, o2, o3, isect_list)


Chronological Thread 
  • From: Yajie Yan <>
  • To:
  • Subject: [cgal-discuss] example of parsing the element of isect_list of cgal::intersection(o1, o2, o3, isect_list)
  • Date: Sun, 1 Jun 2014 22:53:49 -0500

Hi all,

I want to compute intersections among three spheres using
CGAL::intersection which takes in three objects and a vector to store
intersections. According to the reference manual, the return type
could be a std::pair<circular_arc_point_3, unsigned>. In that case, I
am pretty stuck as of how to use object_cast or boost::get to cast an
element of the intersection list to that type in order to further
analyze the object. Could someone show me an example of the correct
way of doing this?

Hope my question makes sense. Thanks!

Yajie.



Archive powered by MHonArc 2.6.18.

Top of Page