Commit 7be2b8b8 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[STYLE]

parent 5d8397b5
......@@ -341,6 +341,15 @@ public:
boost::shared_ptr< std::vector< wmath::WPosition > > getVoxelVertices( const wmath::WPosition& point,
const double margin = 0.0 ) const;
/**
* Return the list of neighbour voxels.
*
* \throw WOutOfBounds If the voxel id is outside of the grid.
*
* \param id Number of the voxel for which the neighbours should be computed
*
* \return Vector of voxel ids which are all neighboured
*/
std::vector< size_t > getNeighbours( size_t id ) const;
protected:
......
......@@ -28,6 +28,7 @@
#include <cstdio>
#include <sstream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment