Skip to content

Commit

Permalink
Add reminders to link other adjacency methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 14, 2020
1 parent 88a99e0 commit 100882c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Octree/include/CGAL/Octree/Node.h
Expand Up @@ -378,14 +378,23 @@ class Node {

}

/**
* \todo I need to get copydoc working so I don't have to duplicate documentation
*/
const Self *adjacent_node(Direction direction) const {
return adjacent_node(std::bitset<3>(static_cast<int>(direction)));
}

/**
* \todo I need to get copydoc working so I don't have to duplicate documentation
*/
Self *adjacent_node(std::bitset<3> direction) {
return const_cast<Self *>(const_cast<const Self *>(this)->adjacent_node(direction));
}

/**
* \todo I need to get copydoc working so I don't have to duplicate documentation
*/
Self *adjacent_node(Direction direction) {
return adjacent_node(std::bitset<3>(static_cast<int>(direction)));
}
Expand Down

0 comments on commit 100882c

Please sign in to comment.