Skip to content

Commit

Permalink
Add description for vector octree example
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 11, 2020
1 parent 9b23a59 commit 852740a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Octree/doc/Octree/Octree.txt
Expand Up @@ -33,8 +33,10 @@ This example illustrates how to create an octree from a collection of points tha
It also shows a more explicit way of setting the split criteria when refining the tree.

An `std::vector<Point_3>` is manually filled with points.
The vector is used as the point map, and ...
\todo How should I create the point index vector?
The vector is used as the point set,
and by using a `CGAL::Identity_property_map` as the octree's map type, a map doesn't need to be provided.

The split criterion is manually constructed and passed to the refine method.

\cgalExample{Octree/Octree_build_from_Point_vector.cpp}

Expand Down

0 comments on commit 852740a

Please sign in to comment.