mirror of https://github.com/CGAL/cgal
Point set structuring example
This commit is contained in:
parent
26477bdf37
commit
0a182eeb79
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue