Point set structuring example

This commit is contained in:
Simon Giraudot 2015-12-01 15:45:12 +01:00
parent 26477bdf37
commit 0a182eeb79
3 changed files with 8 additions and 1 deletions

View File

@ -395,6 +395,12 @@ the article \cgalCite{cgal:la-srpss-13}.
Each detected plane is regularly resampled at a given density. In addition,
edges and corners are estimated and sampled.
\subsection Point_set_processing_3Example_9 Example
The following example applies shape detection followed by structuring to a
point set:
\cgalExample{Point_set_processing_3/structuring_example.cpp}
\section Point_set_processing_3ImplementationHistory Implementation History

View File

@ -11,4 +11,5 @@
\example Point_set_processing_3/bilateral_smooth_point_set_example.cpp
\example Point_set_processing_3/edge_aware_upsample_point_set_example.cpp
\example Point_set_processing_3/edges_example.cpp
\example Point_set_processing_3/structuring_example.cpp
*/

View File

@ -48,7 +48,7 @@ int main (int argc, char** argv)
ransac.add_shape_factory<Plane>();
ransac.detect();
std::vector<Point> structured_pts;
Pwn_vector structured_pts;
CGAL::structure_point_set (points.begin (), points.end (), // input points
std::back_inserter (structured_pts),