Package repast.simphony.context
Interface SpatialContext<T,V>
- All Superinterfaces:
Collection<T>
,Context<T>
,Iterable<T>
,RepastElement
- All Known Implementing Classes:
AbstractSpatialContext
-
Field Summary
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
-
Method Summary
Modifier and TypeMethodDescriptiongetLocation
(Object object) getObjectsAt
(V coordinates) moveByDisplacement
(T object, double... displacement) moveByVector
(T object, double distance, double... anglesInRadians) boolean
putObjectAt
(T object, double... coordinates) boolean
putObjectAt
(T object, V coordinates) Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
Methods inherited from interface repast.simphony.context.Context
addContextListener, addProjection, addSubContext, addValueLayer, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getObjects, getObjectsAsStream, getProjection, getProjection, getProjections, getProjections, getRandomObject, getRandomObjects, getRandomObjectsAsStream, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, query, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setTypeID
Methods inherited from interface repast.simphony.context.RepastElement
getId, setId
-
Method Details
-
putObjectAt
-
putObjectAt
-
getObjectsAt
-
moveByVector
-
moveByDisplacement
-
getLocation
-