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 GridPointUtility.getGridPointAtDisplacement(NdPoint currentLocation, double[] displacement, Observer observer) Returns the GridPoint object of the grid location corresponding to the displacement from the NdPoint currentLocation.static GridPointUtility.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 PatchUtility.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.doubleAbstractGrid.getDistance(GridPoint point1, GridPoint point2) Gets the the euclidian distance between the GridPoints point1 and point2.doubleGrid.getDistance(GridPoint point1, GridPoint point2) Returns the distance between the GridPoints point1 and point2, taking into account the space's topology.doubleAbstractGrid.getDistanceSq(GridPoint point1, GridPoint point2) Gets the square of the euclidian distance between the GridPoints point1 and point2.doubleGrid.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.booleanAttempts to put the specified object at the specified location.booleanbooleanAttempts to put the specified object at the specified location.booleanAttempts to put the specified object at the specified location.voidRemoves the specified object from the location in the map.voidFastDenseSingleOccuGrid.FastDenseAccessor.remove(V obj, Object[] locationStorage, GridPoint location) voidRemoves the specified object from the location in the map.voidRemoves the specified object from the location in the map.voidTransform the given targetLocation according to default moveTo semantics.voidTransform the given targetLocation according to this GridPointTranslator's semantics.voidTransform 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.booleanAttempts to put the specified object at the specified location.booleanAttempts to put the specified object at the specified location.voidRemoves the specified object from the location in the map.voidRemoves 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 TypeMethodDescriptionvoidBufferedGridValueLayer.forEach(GridFunction function, GridPoint origin, BufferedGridValueLayer.Buffer buffer, int... extent) Apply the specified function to each cell in the extent around the origin.voidGridValueLayer.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 TypeMethodDescriptiondoubleProjected3DGrid.getDistance(GridPoint point1, GridPoint point2) Gets the the euclidian distance between the GridPoints point1 and point2.doubleProjected3DGrid.getDistanceSq(GridPoint point1, GridPoint point2) Gets the square of the euclidian distance between the GridPoints point1 and point2.