Package repast.simphony.space.continuous
Class InfiniteBorders<T>
java.lang.Object
repast.simphony.space.continuous.AbstractPointTranslator
repast.simphony.space.continuous.StickyBorders
repast.simphony.space.continuous.InfiniteBorders<T>
- All Implemented Interfaces:
PointTranslator
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.continuous.AbstractPointTranslator
dimensions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(Dimensions dimensions) This calls the super'sStickyBorders.init(repast.simphony.space.Dimensions)
method with aDimensions
object that has its dimensions set toDouble.POSITIVE_INFINITY
.Methods inherited from class repast.simphony.space.continuous.StickyBorders
getNewCoord, isPeriodic, translate, translate
Methods inherited from class repast.simphony.space.continuous.AbstractPointTranslator
boundsCheck, minusEpsilon, transform, transform
-
Constructor Details
-
InfiniteBorders
public InfiniteBorders()
-
-
Method Details
-
init
This calls the super'sStickyBorders.init(repast.simphony.space.Dimensions)
method with aDimensions
object that has its dimensions set toDouble.POSITIVE_INFINITY
.- Specified by:
init
in interfacePointTranslator
- Overrides:
init
in classStickyBorders
- Parameters:
dimensions
- the dimensions of the space
-