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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(GridDimensions dimensions) This calls the super'sStickyBorders.init(GridDimensions)method with aGridDimensionsobject that has its dimensions set toDouble.POSITIVE_INFINITY.Methods inherited from class repast.simphony.space.grid.StickyBorders
getNewCoord, isToroidal, translateMethods 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 aGridDimensionsobject that has its dimensions set toDouble.POSITIVE_INFINITY.- Specified by:
initin interfaceGridPointTranslator- Overrides:
initin classStickyBorders- Parameters:
dimensions- the dimensions of the space
-