Uses of Class
repast.simphony.space.continuous.NdPoint
Packages that use NdPoint
Package
Description
- 
Uses of NdPoint in repast.simphony.relogoMethods in repast.simphony.relogo that return NdPointModifier and TypeMethodDescriptionAbstractPatch.getGridLocationAsNdPoint()Patch.getGridLocationAsNdPoint()AbstractTurtle.getTurtleLocation()Turtle.getTurtleLocation()Methods in repast.simphony.relogo with parameters of type NdPointModifier and TypeMethodDescriptionstatic GridPointUtility.getGridPointAtDisplacement(NdPoint currentLocation, double[] displacement, Observer observer) Returns the GridPoint object of the grid location corresponding to the displacement from the NdPoint currentLocation.static AgentSetJavaUtility.inRadiusUtility(AgentSet a, Number num, ContinuousSpace space, NdPoint location) static GridPointUtility.ndPointToGridPoint(NdPoint loc) Given a continuous space location, return the corresponding grid location as a GridPoint.static int[]Utility.ndPointToIntArray(NdPoint loc) Given a continuous space location, return the corresponding grid location as an int array.voidAbstractTurtle.setBaseTurtleProperties(Observer observer, TurtleFactory turtleFactory, String turtleShape, double heading, double color, NdPoint loc) 
- 
Uses of NdPoint in repast.simphony.relogo.factoriesMethods in repast.simphony.relogo.factories with parameters of type NdPointModifier and TypeMethodDescriptionTurtleFactory.createTurtle(String turtleType, double heading, double color, NdPoint loc) TurtleFactory.createTurtle(String turtleType, NdPoint loc) TurtleFactory.createTurtle(NdPoint loc) 
- 
Uses of NdPoint in repast.simphony.spaceMethods in repast.simphony.space with parameters of type NdPointModifier and TypeMethodDescriptionstatic doubleSpatialMath.calcAngleFor2DMovement(ContinuousSpace<? extends Object> space, NdPoint point1, NdPoint point2) Calculates the angle in radians between the two points on the horizontal plane.
- 
Uses of NdPoint in repast.simphony.space.continuousFields in repast.simphony.space.continuous declared as NdPointMethods in repast.simphony.space.continuous that return NdPointModifier and TypeMethodDescriptionAbstractContinuousSpace.getLocation(Object obj) Gets the location of the specified object.ContinuousSpace.getLocation(Object obj) Gets the location of the specified object.AbstractContinuousSpace.moveByDisplacement(T object, double... displacement) Moves the specified object from its current location by the specified amount.ContinuousSpace.moveByDisplacement(T object, double... displacement) Moves the specified object from its current location by the specified amount.AbstractContinuousSpace.moveByVector(T object, double distance, double... anglesInRadians) Moves the specifed object the specified distance from its current position along the specified angle.ContinuousSpace.moveByVector(T object, double distance, double... anglesInRadians) Moves the specifed object the specified distance from its current position along the specified angle.Methods in repast.simphony.space.continuous that return types with arguments of type NdPointMethods in repast.simphony.space.continuous with parameters of type NdPointModifier and TypeMethodDescriptionGets the item at the specified location in the map.Gets the item at the specified location in the map.Gets the item at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.double[]AbstractContinuousSpace.getDisplacement(NdPoint point1, NdPoint point2) Returns the displacement between the NdPoints point1 and point2.double[]ContinuousSpace.getDisplacement(NdPoint point1, NdPoint point2) Returns the displacement between the NdPoints point1 and point2.doubleAbstractContinuousSpace.getDistance(NdPoint point1, NdPoint point2) Calculates the euclidian distance between the NdPoints point1 and point2.doubleContinuousSpace.getDistance(NdPoint point1, NdPoint point2) Returns the distance between the NdPoints point1 and point2, taking into account the space's topology.doubleAbstractContinuousSpace.getDistanceSq(NdPoint point1, NdPoint point2) Calculates the square of the euclidian distance between the NdPoints point1 and point2.doubleContinuousSpace.getDistanceSq(NdPoint point1, NdPoint point2) Returns the square of the distance between the NdPoints point1 and point2, taking into account the space's topology.CoordinateAccessor.getRandom(cern.jet.random.Uniform distribution, U locationStorage, NdPoint location) Gets a random item from those at the specified location in the map.MultiOccupancyCoordinateAccessor.getRandom(cern.jet.random.Uniform distribution, Map<NdPoint, Object> locationMap, NdPoint location) Gets a random item from those at the specified location in the map.SingleOccupancyCoordinateAccessor.getRandom(cern.jet.random.Uniform distribution, Map<NdPoint, Object> locationMap, NdPoint location) Gets a random item from those at the specified location in the map.booleanAttempts to put the specified object at the specified location.booleanAttempts to put the specified object at the specified location.booleanAttempts to put the specified object at the specified location.voidRemoves the specified object from the location in the map.voidRemoves the specified object from the location in the map.voidRemoves the specified object from the location in the map.voidTransform the given targetLocation according to default moveTo semantics.voidTransform the given targetLocation according to this PointTranslator's semantics.voidTransform the given targetLocation according to periodic "wrapped" semantics.voidTranslate the specified location by the specified displacement.For example, if the location is (3, 4) and the displacement is (1, -2), the new location will be (4, 2).voidTranslate the specified location by the specified displacement.For example, if the location is (3, 4) and the displacement is (1, -2), the new location will be (4, 2).voidTranslates the specified location by the amount of displacement along each dimensions.voidTranslate the specified location by the specified displacement.For example, if the location is (3, 4) and the displacement is (1, -2), the new location will be (4, 2).voidTranslates the specified location by the specified displacement according to periodic "wrapped" semantics.Method parameters in repast.simphony.space.continuous with type arguments of type NdPointModifier and TypeMethodDescriptionGets the item at the specified location in the map.Gets the item at the specified location in the map.Gets all the items at the specified location in the map.Gets all the items at the specified location in the map.MultiOccupancyCoordinateAccessor.getRandom(cern.jet.random.Uniform distribution, Map<NdPoint, Object> locationMap, NdPoint location) Gets a random item from those at the specified location in the map.SingleOccupancyCoordinateAccessor.getRandom(cern.jet.random.Uniform distribution, Map<NdPoint, Object> locationMap, NdPoint location) Gets a random item from those at the specified location in the map.booleanAttempts to put the specified object at the specified location.booleanAttempts to put the specified object at the specified location.voidRemoves the specified object from the location in the map.voidRemoves the specified object from the location in the map.Constructor parameters in repast.simphony.space.continuous with type arguments of type NdPointModifierConstructorDescriptionDefaultContinuousSpace(String name, ContinuousAdder<T> adder, PointTranslator translator, CoordinateAccessor<T, Map<NdPoint, Object>> accessor, double... size) Constructs this space with the specified name, adder, translator, accessor and size.
- 
Uses of NdPoint in repast.simphony.valueLayerFields in repast.simphony.valueLayer with type parameters of type NdPoint
- 
Uses of NdPoint in repast.simphony.visualization.editor.spaceMethods in repast.simphony.visualization.editor.space that return NdPointModifier and TypeMethodDescriptionProjected3DSpace.getLocation(Object obj) Gets the location of the specified object.Projected3DSpace.moveByDisplacement(T object, double... displacement) Moves the specified object from its current location by the specified amount.Projected3DSpace.moveByVector(T object, double distance, double... anglesInRadians) Moves the specifed object the specified distance from its current position along the specified angle.Methods in repast.simphony.visualization.editor.space with parameters of type NdPointModifier and TypeMethodDescriptiondouble[]Projected3DSpace.getDisplacement(NdPoint point1, NdPoint point2) Returns the displacement between the NdPoints point1 and point2.doubleProjected3DSpace.getDistance(NdPoint point1, NdPoint point2) Gets the the euclidian distance between the NdPoints point1 and point2.doubleProjected3DSpace.getDistanceSq(NdPoint point1, NdPoint point2) Gets the square of the euclidian distance between the NdPoints point1 and point2.