Uses of Class
repast.simphony.space.grid.GridPoint
Packages that use GridPoint
Package
Description
-
Uses of GridPoint in repast.simphony.context.space.grid
Constructor parameters in repast.simphony.context.space.grid with type arguments of type GridPointModifierConstructorDescriptionContextGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int... size) Constructs this space with the specified name, adder, translator, accessor and size.ContextGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int[] size, int[] origin) Constructs this space with the specified name, adder, translator, accessor, size, and origin. -
Uses of GridPoint in repast.simphony.query.space.grid
Fields in repast.simphony.query.space.grid declared as GridPointMethods in repast.simphony.query.space.grid that return GridPointConstructors in repast.simphony.query.space.grid with parameters of type GridPoint -
Uses of GridPoint in repast.simphony.relogo
Methods in repast.simphony.relogo that return GridPointModifier and TypeMethodDescriptionAbstractPatch.getGridLocation()
Patch.getGridLocation()
static GridPoint
Utility.getGridPointAtDisplacement
(NdPoint currentLocation, double[] displacement, Observer observer) Returns the GridPoint object of the grid location corresponding to the displacement from the NdPoint currentLocation.static GridPoint
Utility.ndPointToGridPoint
(NdPoint loc) Given a continuous space location, return the corresponding grid location as a GridPoint.Methods in repast.simphony.relogo with parameters of type GridPointModifier and TypeMethodDescriptionstatic Patch
Utility.getPatchAtLocation
(GridPoint gridPoint, Observer observer) Returns the Patch object at the gridPoint location.static <any>
Utility.getTurtlesOnGridPoint
(GridPoint patchLocation, Observer observer) Returns the turtles on the patch corresponding to the patchLocation GridPoint.static <any>
Utility.getTurtlesOnGridPoint
(GridPoint patchLocation, Observer observer, Class type) Returns the turtles of this type on the patch corresponding to the patchLocation GridPoint.static <any>
Utility.getTurtlesOnGridPoint
(GridPoint patchLocation, Observer observer, String typeName) Returns the turtles of this typeName on the patch corresponding to the patchLocation GridPoint. -
Uses of GridPoint in repast.simphony.space.grid
Methods in repast.simphony.space.grid that return GridPointModifier and TypeMethodDescriptionAbstractGrid.getLocation
(Object obj) Gets the location of the specified object.Grid.getLocation
(Object obj) Gets the location of the specified object.AbstractGrid.moveByDisplacement
(T object, int... displacement) Moves the specified object from its current location by the specified amount.Grid.moveByDisplacement
(T object, int... displacement) Moves the specified object from its current location by the specified amount.AbstractGrid.moveByVector
(T object, double distance, double... anglesInRadians) Moves the specifed object the specified distance from its current position along the specified angle.Grid.moveByVector
(T object, double distance, double... anglesInRadians) Moves the specified object the specified distance from its current position along the specified angle.Methods in repast.simphony.space.grid that return types with arguments of type GridPointMethods in repast.simphony.space.grid with parameters of type GridPointModifier and TypeMethodDescriptionGets the item at the specified location in the map.Gets the item at the specified location in the map.Gets the item at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.double
AbstractGrid.getDistance
(GridPoint point1, GridPoint point2) Gets the the euclidian distance between the GridPoints point1 and point2.double
Grid.getDistance
(GridPoint point1, GridPoint point2) Returns the distance between the GridPoints point1 and point2, taking into account the space's topology.double
AbstractGrid.getDistanceSq
(GridPoint point1, GridPoint point2) Gets the square of the euclidian distance between the GridPoints point1 and point2.double
Grid.getDistanceSq
(GridPoint point1, GridPoint point2) Returns the square of the distance between the GridPoints point1 and point2, taking into account the space's topology.Gets a random item from those at the specified location in the map.Gets a random item from those at the specified location in the map.Gets a random item from those at the specified location in the map.boolean
Attempts to put the specified object at the specified location.boolean
boolean
Attempts to put the specified object at the specified location.boolean
Attempts to put the specified object at the specified location.void
Removes the specified object from the location in the map.void
FastDenseSingleOccuGrid.FastDenseAccessor.remove
(V obj, Object[] locationStorage, GridPoint location) void
Removes the specified object from the location in the map.void
Removes the specified object from the location in the map.void
Transform the given targetLocation according to default moveTo semantics.void
Transform the given targetLocation according to this GridPointTranslator's semantics.void
Transform the given targetLocation according to periodic "wrapped" semantics.Method parameters in repast.simphony.space.grid with type arguments of type GridPointModifier and TypeMethodDescriptionGets the item at the specified location in the map.Gets the item at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.Gets a random item from those at the specified location in the map.Gets a random item from those at the specified location in the map.boolean
Attempts to put the specified object at the specified location.boolean
Attempts to put the specified object at the specified location.void
Removes the specified object from the location in the map.void
Removes the specified object from the location in the map.Constructor parameters in repast.simphony.space.grid with type arguments of type GridPointModifierConstructorDescriptionDefaultGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int... size) DefaultGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int[] size, int[] origin) -
Uses of GridPoint in repast.simphony.valueLayer
Methods in repast.simphony.valueLayer that return GridPointMethods in repast.simphony.valueLayer with parameters of type GridPointModifier and TypeMethodDescriptionvoid
BufferedGridValueLayer.forEach
(GridFunction function, GridPoint origin, BufferedGridValueLayer.Buffer buffer, int... extent) Apply the specified function to each cell in the extent around the origin.void
GridValueLayer.forEach
(GridFunction function, GridPoint origin, int... extent) Apply the specified function to each cell in the extent around the origin. -
Uses of GridPoint in repast.simphony.visualization.editor.space
Methods in repast.simphony.visualization.editor.space that return GridPointModifier and TypeMethodDescriptionProjected3DGrid.getLocation
(Object obj) Gets the location of the specified object.Projected3DGrid.moveByDisplacement
(T object, int... displacement) Moves the specified object from its current location by the specified amount.Projected3DGrid.moveByVector
(T object, double distance, double... anglesInRadians) Moves the specifed object the specified distance from its current position along the specified angle.Methods in repast.simphony.visualization.editor.space with parameters of type GridPointModifier and TypeMethodDescriptiondouble
Projected3DGrid.getDistance
(GridPoint point1, GridPoint point2) Gets the the euclidian distance between the GridPoints point1 and point2.double
Projected3DGrid.getDistanceSq
(GridPoint point1, GridPoint point2) Gets the square of the euclidian distance between the GridPoints point1 and point2.