Class AbstractSpatialContext<T,V>

java.lang.Object
java.util.AbstractCollection<T>
repast.simphony.context.AbstractContext<T>
repast.simphony.context.AbstractSpatialContext<T,V>
All Implemented Interfaces:
Iterable<T>, Collection<T>, Context<T>, ContextListener, RepastElement, SpatialContext<T,V>

public abstract class AbstractSpatialContext<T,V> extends AbstractContext<T> implements SpatialContext<T,V>
  • Constructor Details

    • AbstractSpatialContext

      public AbstractSpatialContext()
  • Method Details

    • getLocation

      public abstract V getLocation(Object object)
      Specified by:
      getLocation in interface SpatialContext<T,V>
    • rotate

      protected double[] rotate(double[] plane, double angle)
    • scale

      protected double[] scale(double[] point, double scale)
    • getDisplacement

      protected double[] getDisplacement(int unitDimension, double scale, double... anglesInRadians)
    • dimensions

      public abstract double[] dimensions()