Subject: CGAL users discussion list
List archive
- From: zhaojing <>
- To:
- Subject: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?
- Date: Wed, 30 Jan 2019 03:32:25 -0600 (CST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Fail ; spf=Pass
- Ironport-phdr: 9a23:M1qWSx0g/4/fkdjnsmDT+DRfVm0co7zxezQtwd8Zse0WIvad9pjvdHbS+e9qxAeQG9mDu7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmhicJOSA6/m/KhcN/kK1VrQm9pxxm34LYfJ2ZOOZ8c67bYNgURXBBXsFUVyFZA4K8b5EAD+0DPeZZqYn9qEYFoByjCQWxGu/iyiNEi3310KEkzegsFRrL3BU5H94UrHvUq9D1Ob4UXOuowqfIyjDDYOlX2Tf78IXIdAouruqXUrJ0b8Xd01UgFwTAjlmItYPlMCma1uAXv2ic9epgWuSigHMkpQFpujWj28Mhh43Tio8byV3I7yZ0zYcvKdC5SUN2Z8OvHoFKuCGALYR2R9svQ2F2tyY+zb0LoZi7cScQxJQh3RHQcOeIc4yW7R75SOmRJjJ4iGpkeLK5mRmy7VCtxvD4W8SwylpHoClInsPPu30MzRDe68mKRuN4/ki72DaP0w7T6vtDIUAxjafXNoMtzqAwm5YPs0nOHTH6lFvygaKNb0Uk4/Kk5PjgYrXjvpOcLZN7ihniMqQyncyyGfg3MgcUUGif4Oizybzj/VblT7VXlf02ibLUsIvaJMQevq62GRVZ0ocl6xalDjepys4UnXcdLAENRBXShIfgPxTCIevzEOykq1WqijZigf7cbZP7BZCYPHjKl7Xge7k1vxcFkldrkoAFvcN8E6hHK/X2DByi/OfEBwM0ZlTni93sD89wg9tHCDC/R5SBOaaXimemo+cmIu2CfogQ6GTkMr4u4Pu80SZly29YRrGg2N4sUF79Bu5vcxeAeDznhdJTST5X7Dp7d/TjjRi5aRAWZ3u2WPthtDdnToSvB43HS8amh7nThSo=
Hi guys,
I'm new to CGAL and I'm trying to use the efficient ransac algorithm to
detect shapes in point cloud.
I'm using the demo code at
https://doc.cgal.org/latest/Point_set_shape_detection_3/index.html#Point_set_shape_detection_3Usage_minimal.
Now for certain reason I need to use the
Exact_predicate_exact_constructions_kernel.
I just changed the header file and the corresponding typedef at the
beginning of the program. However the compiling process failed with the
following error message:
/usr/local/include/CGAL/Shape_detection_3/Efficient_RANSAC.h:495:34: error:
ambiguous overload for ‘operator*’ (operand types are
‘CGAL::Shape_detection_3::Efficient_RANSAC<CGAL::Shape_detection_3::Shape_detection_traits<CGAL::Epeck,
std::vector<std::pair<CGAL::Point_3<CGAL::Epeck>,
CGAL::Vector_3<CGAL::Epeck> > >,
CGAL::First_of_pair_property_map<std::pair<CGAL::Point_3<CGAL::Epeck>,
CGAL::Vector_3<CGAL::Epeck> > >,
CGAL::Second_of_pair_property_map<std::pair<CGAL::Point_3<CGAL::Epeck>,
CGAL::Vector_3<CGAL::Epeck> > > > >::FT {aka
CGAL::Lazy_exact_nt<CGAL::Gmpq>}’ and ‘std::size_t {aka long unsigned int}’)
(std::size_t)((FT)0.01 * m_num_available_points) :
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
The error message is too long to post all of them here. It is easy to
reproduce though.
I really don't get it. Aren't the kernels expected to replace one another?
Thanks in advance!
Best,
Jing
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, zhaojing, 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, Simon Giraudot, 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, Sebastien Loriot (GeometryFactory), 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, zhaojing, 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, zhaojing, 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, Sebastien Loriot (GeometryFactory), 01/30/2019
- Re: [cgal-discuss] Efficient RANSAC example with exact_constructions_kernel?, Simon Giraudot, 01/30/2019
Archive powered by MHonArc 2.6.18.