-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Environment,it.unibo.alchemist.model.interfaces.EuclideanEnvironment,it.unibo.alchemist.model.interfaces.environments.PhysicsEnvironment,java.io.Serializable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface Physics2DEnvironment<T extends Object> implements PhysicsEnvironment<T, Euclidean2DPosition, Euclidean2DTransformation, Euclidean2DShapeFactory>
A PhysicsEnvironment using Euclidean2DPositions.
-
-
Method Summary
Modifier and Type Method Description abstract Euclidean2DShapeFactorygetShapeFactory()A factory of shapes compatible with this environment. Euclidean2DPositiongetOrigin()-
Methods inherited from class it.unibo.alchemist.model.interfaces.environments.Physics2DEnvironment
farthestPositionReachable, getHeading, getNodesWithin, getShape, setHeading -
Methods inherited from class it.unibo.alchemist.model.interfaces.EuclideanEnvironment
addLayer, addNode, addTerminator, getDimensions, getDistanceBetweenNodes, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getNodesWithinRange, getOffset, getPosition, getSimulation, getSize, getSizeInDistanceUnits, isTerminated, makePosition, moveNodeToPosition, removeNode, setLinkingRule, setSimulation -
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.Environment
iterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.environments.PhysicsEnvironment
makePosition, moveNode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getShapeFactory
abstract Euclidean2DShapeFactory getShapeFactory()
A factory of shapes compatible with this environment.
-
getOrigin
Euclidean2DPosition getOrigin()
-
-
-
-