33 #ifndef __H__LIB_GRID__NEIGHBORHOOD__
34 #define __H__LIB_GRID__NEIGHBORHOOD__
137 Vertex* vrt,
size_t range,
138 bool clearContainer =
true);
NeighborhoodType
Constants to specify a neighborhood.
Definition: neighborhood.h:53
void CollectNeighborhood(std::vector< Face * > &facesOut, Grid &grid, Vertex *vrt, size_t range, bool clearContainer)
Collects all neighbors in a given neighborhood of a vertex.
Definition: neighborhood.cpp:415
void CollectNeighbors(std::vector< Vertex * > &vNeighborsOut, Grid &grid, Vertex *vrt, uint nbhType, Grid::edge_traits::callback considerEdge, Grid::face_traits::callback considerFace, Grid::volume_traits::callback considerVol)
Collects all vertices that are connected by elements of the specified type.
Definition: neighborhood.cpp:43
@ NHT_VOLUME_NEIGHBORS
Definition: neighborhood.h:58
@ NHT_DEFAULT
Definition: neighborhood.h:54
@ NHT_VERTEX_NEIGHBORS
Definition: neighborhood.h:55
@ NHT_FACE_NEIGHBORS
Definition: neighborhood.h:57
@ NHT_EDGE_NEIGHBORS
Definition: neighborhood.h:56
@ NHT_ALL
Definition: neighborhood.h:59
unsigned int uint
Definition: types.h:114
boost::function< bool(base_object *)> callback
callback type for the elements base type.
Definition: grid.h:150