Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7be2b8b8
Commit
7be2b8b8
authored
Feb 11, 2010
by
Mathias Goldau
Browse files
[STYLE]
parent
5d8397b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/dataHandler/WGridRegular3D.h
src/dataHandler/WGridRegular3D.h
+9
-0
src/dataHandler/test/WGridRegular3D_test.h
src/dataHandler/test/WGridRegular3D_test.h
+1
-0
No files found.
src/dataHandler/WGridRegular3D.h
View file @
7be2b8b8
...
...
@@ -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:
...
...
src/dataHandler/test/WGridRegular3D_test.h
View file @
7be2b8b8
...
...
@@ -28,6 +28,7 @@
#include <cstdio>
#include <sstream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment