Class WithinVN
java.lang.Object
repast.simphony.query.space.projection.SpatialPredicate
repast.simphony.query.space.projection.WithinVN
- All Implemented Interfaces:
ProjectionPredicate
Predicate that evalutes whether one object is within the Von Neumann
neighborhood of another in a grid projection.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Methods inherited from class repast.simphony.query.space.projection.SpatialPredicate
evaluate, evaluate, evaluate
-
Constructor Details
-
WithinVN
Creates a Within predicate that will evaluate whether or not the second object is a member of the Von Neumann neighborhood of the first object.- Parameters:
obj1
-obj2
-
-
-
Method Details
-
evaluate
Evaluates the Grid against this predicate.- Specified by:
evaluate
in interfaceProjectionPredicate
- Overrides:
evaluate
in classSpatialPredicate
- Parameters:
grid
- the Grid to evaluate against.- Returns:
- false
-