#include <iso_space_neighbor_group_shape_alg.h>
Inherits iso::space::NeighborGroupAlg.
Inheritance diagram for iso::space::NeighborGroupShapeAlg:
Public Member Functions | |
NeighborGroupShapeAlg () | |
create neighbor algorithm | |
NeighborGroupShapeAlg (real pNeighborRadius, int pMaxNeighborCount, bool pReplaceNeighborMode) | |
create neighbor algorithm | |
virtual bool | createNeighbor (SpaceObject *pObject1, SpaceObject *pObject2) |
add Neighbor |
NeighborGroupShapeAlg::NeighborGroupShapeAlg | ( | ) |
create neighbor algorithm
NeighborGroupShapeAlg::NeighborGroupShapeAlg | ( | real | pNeighborRadius, | |
int | pMaxNeighborCount, | |||
bool | pReplaceNeighborMode | |||
) |
create neighbor algorithm
pNeighborRadius | radius within which neighbors are searched | |
pMaxNeighborCount | maximum number of neighbors in neighbor list if >= 0 (-1: no limit) | |
pReplaceNeighborMode | replace more distant neighbors with closer neighbors if true |
bool NeighborGroupShapeAlg::createNeighbor | ( | SpaceObject * | pObject1, | |
SpaceObject * | pObject2 | |||
) | [virtual] |
add Neighbor
pObject1 | the space object a neighbor will be added to | |
pObject2 | the neighbor space object |
Reimplemented from iso::space::NeighborGroupAlg.