Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Accessing information from Point set shape dectection

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Accessing information from Point set shape dectection


Chronological Thread 
  • From: Kelvin_Piroddi <>
  • To:
  • Subject: Re: [cgal-discuss] Accessing information from Point set shape dectection
  • Date: Mon, 5 Sep 2016 05:45:01 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:GfytwBXjoQ9l+s0J2S43f5jjSwbV8LGtZVwlr6E/grcLSJyIuqrYZhGPt8tkgFKBZ4jH8fUM07OQ6PG5HzFQqsre+DBaKdoXBkdD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2asc272qiI9oHJZE0Q3XzmMOo0cUX98VqZ9pFPx9AzcuBpklqBi0ALUtwe/XlvK1OXkkS0zeaL17knzR5tvek8/dVLS6TwcvdwZ7VZCDM7LzJ9v5Wz5lGQBTeIs3ATW2FTnhtTCBXe9zn7WI3wu230rLlTwi6faO77Sa41XwOa7r1sRBPpwHMELz8j923bi+R/iatapFSqoBkpkN2cW52cKPcrJvCVRtgdX2cUBss=

Thank you.

How can I create a dynamic_cast to check the ransac_factory for every
iteration of the iterator:

Efficient_ransac::Shape_range::iterator it = shapes.begin();
while (it != shapes.end()) {
boost::shared_ptr<Efficient_ransac::Shape> shape = *it;

I have only used a sphere in my factory:

typedef CGAL::Shape_detection_3::Sphere<Traits> Sphere;

and would like to access the radius for every detected sphere:

Sphere->radius()


Thank you






--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Accessing-information-from-Point-set-shape-dectection-tp4662202p4662209.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page