Skip to content

Commit

Permalink
Add param documentation to all public member functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 16, 2020
1 parent 9f02caa commit a3b1632
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions Octree/include/CGAL/Octree.h
Expand Up @@ -149,11 +149,13 @@ class Octree {
/*!
* \brief Create an octree from a collection of points
*
* \todo
* The resulting octree will have a root node with no children that contains the points passed.
* That root node will have a bounding box that encloses all of the points passed,
* with padding according to the enlarge_ratio
*
* \param point_range
* \param point_map
* \param enlarge_ratio
* \param point_range random access iterator over the indices of the points
* \param point_map maps the point indices to their coordinate locations
* \param enlarge_ratio the degree to which the bounding box should be enlarged
*/
Octree(
PointRange &point_range,
Expand Down Expand Up @@ -207,7 +209,7 @@ class Octree {
*
* \todo
*
* \param split_criterion
* \param split_criterion rule to use when determining whether or not a node needs to be subdivided
*/
void refine(const Split_criterion &split_criterion) {

Expand Down Expand Up @@ -249,8 +251,8 @@ class Octree {
*
* \todo
*
* \param max_depth
* \param bucket_size
* \param max_depth deepest a tree is allowed to be (nodes at this depth will not be split)
* \param bucket_size maximum points a node is allowed to contain
*/
void refine(size_t max_depth, size_t bucket_size) {
refine(Split_to_max_depth_or_bucket_size(max_depth, bucket_size));
Expand All @@ -266,7 +268,7 @@ class Octree {
*
* \todo
*
* \return
* \return a reference to the root node of the tree
*/
Node &root() { return m_root; }

Expand All @@ -275,7 +277,7 @@ class Octree {
*
* \todo
*
* \return
* \return a const reference to the root node of the tree
*/
const Node &root() const { return m_root; }

Expand All @@ -284,9 +286,9 @@ class Octree {
*
* \todo
*
* \tparam Walker
* \param walker
* \return
* \tparam Walker type of the walker rule
* \param walker the rule to use when determining the order of the sequence of points produced
* \return a forward input iterator over the nodes of the tree
*/
template<class Walker>
Node_range walk(const Walker &walker = Walker()) const {
Expand Down Expand Up @@ -396,8 +398,8 @@ class Octree {
*
* \todo
*
* \param rhs
* \return
* \param rhs tree to compare with
* \return whether the trees have the same topology
*/
bool operator==(Octree<PointRange, PointMap> &rhs) {

Expand Down

0 comments on commit a3b1632

Please sign in to comment.