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
public class InfiniteBorders<T> extends StickyBorders
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 dimensionsDouble.POSITIVE_INFINITY
.- Author:
- Jerry Vos
-
-
Field Summary
-
Fields inherited from class repast.simphony.space.continuous.AbstractPointTranslator
dimensions
-
-
Constructor Summary
Constructors Constructor Description InfiniteBorders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
init
public void 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
.- Specified by:
init
in interfacePointTranslator
- Overrides:
init
in classStickyBorders
- Parameters:
dimensions
- the dimensions of the space
-
-