Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How to keep the order of input points in Efficient RANSAC?
- Date: Mon, 31 Dec 2018 07:34:25 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:HFmCkxfDVtiMBh7rBhzwgWsolGMj4u6mDksu8pMizoh2WeGdxcS+Zx7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM37X/ZisJwgqxYrhyuqRNwzIzIb4+aL/d+YqHQcMkGSWZdUMtcVSpMCZ68YYsVCOoBOP5Vo4fgqVQQthSxHxKsBP/uyjBWgH/9wKs00+M7EQHH2wwgA88FvHDVotrrM6cSVP66zLXSzTTDb/1Zwyvy6JTPchA7ofCAWLx8etfWxEk0EwPFiU+QqY3iPzOJzOgNtmyb4vFvVeKqkWEnqgVxriKzyccrj4nEn4QYwU3K+yV+xYY6P9y4SEhjbNG4H5tfrSWaO5FxQsM4TGFlvjsxxL4euZOjYiQG1JAqywTcZvGHaYSE/A7vWeWLLTp4in9pYLCyihWo/US+xeDxV9O43EtOoydLiNXBtHAA2hrO4cadUPR95F2u2TOX2gDT9O5EJUc0mLLeK5E7w74wkoMfvlreESPrgUn2gq+be0s+9uin7OTnZbrmppuCOINulg7+NaEultS+AeQ+LAcOQ3CW9fqg2LDn50H0Q7VHguconqXFs53WP8QWq6ChDw9QyIkj6hK/Dzm80NQfmHkKNElFeBaAj4jzOlHOJ+z4Ae26g1SoizpryPXGMafgApXJNHTMjLDhfbNl505G1AUz1cxf545TCrwZPP3zVVX+tNjBAhAkMgy02ProCMhm1oMFQm+PGa+YMKbKsVCS/O4vIu+MZJUUuDnnMfQl6eTu3jcFngoWcqCtmJcWc3ulBe9OIkODYHOqjM1SP30Nu190d+HggUaeUDNVL1K1RaM7+nl7J4+hCIrfXJGDibed2z2qX9ceMntCDUqNFmuucoGsVPIFaSbUKchkxG9XHYO9QpMsgEn9/DTxzKBqe7KNq38o8Kn73d0w3NX90BQ79Dh6FcOYijjfQGR9n2dOTDgzjvkm/R5Nj2yb2K09uMR2UMRJ7qoQAAg/PJ/Yied9DoKqA1+TTpKyUF+jB+6eL3QxQ9Y2mYJcZk98H5CvgkmG0XfxRbASkLOPCdo/9aeOh3U=
Note that if the input order of your points is important, you can store you point in a vector for example and a range of ids as points.
Something similar to this example, CGAL::make_property_map(points) being
the points property map.
https://doc.cgal.org/latest/Spatial_sorting/Spatial_sorting_2sp_sort_using_property_map_3_8cpp-example.html
Sebastien.
On 12/28/2018 04:17 PM, Lin M wrote:
Hi guys,
I'm new to CGAL, I follow the example to run a RANSAC on samples of a mesh (https://doc.cgal.org/latest/Point_set_shape_detection_3/Point_set_shape_detection_3_2efficient_RANSAC_point_access_8cpp-example.html), but I found the order of input points changed after that. Is there a way to keep the order of input points or like add an extra index property map to the points?
Thanks!
Best,
Lin
- [cgal-discuss] How to keep the order of input points in Efficient RANSAC?, Lin M, 12/28/2018
- Re: [cgal-discuss] How to keep the order of input points in Efficient RANSAC?, Sebastien Loriot (GeometryFactory), 12/31/2018
Archive powered by MHonArc 2.6.18.