Package repast.simphony.space.grid
Class InfiniteBorders<T>
java.lang.Object
repast.simphony.space.grid.AbstractGridPointTranslator
repast.simphony.space.grid.StickyBorders
repast.simphony.space.grid.InfiniteBorders<T>
- All Implemented Interfaces:
GridPointTranslator
This represents an infinite space. There are no edges so you can always move to a point.
This is the same as a StickyBorders space with dimensions
Double.POSITIVE_INFINITY
.- Author:
- Jerry Vos
-
Field Summary
Fields inherited from class repast.simphony.space.grid.AbstractGridPointTranslator
dimensions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(GridDimensions dimensions) This calls the super'sStickyBorders.init(GridDimensions)
method with aGridDimensions
object that has its dimensions set toDouble.POSITIVE_INFINITY
.Methods inherited from class repast.simphony.space.grid.StickyBorders
getNewCoord, isToroidal, translate
Methods inherited from class repast.simphony.space.grid.AbstractGridPointTranslator
boundsCheck, transform, transform
-
Constructor Details
-
InfiniteBorders
public InfiniteBorders()
-
-
Method Details
-
init
This calls the super'sStickyBorders.init(GridDimensions)
method with aGridDimensions
object that has its dimensions set toDouble.POSITIVE_INFINITY
.- Specified by:
init
in interfaceGridPointTranslator
- Overrides:
init
in classStickyBorders
- Parameters:
dimensions
- the dimensions of the space
-