org.jscience.computing.ai.agents
Class HexagonalCell

java.lang.Object
  extended by org.jscience.computing.ai.agents.Cell
      extended by org.jscience.computing.ai.agents.HexagonalCell

public class HexagonalCell
extends Cell

A class representing an hexagonal flat cell.


Field Summary
 
Fields inherited from class org.jscience.computing.ai.agents.Cell
CUBIC, HEXAGONAL, SQUARE, TRIANGULAR
 
Constructor Summary
HexagonalCell(DiscreteEnvironment environment, int[] position, double size, double angle)
          Creates a new HexagonalCell object.
 
Method Summary
 double getAngle()
          DOCUMENT ME!
 double getSize()
          DOCUMENT ME!
 double getSurface()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.ai.agents.Cell
getContents, getEnvironment, getNeighborCells, getPosition, setContents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexagonalCell

public HexagonalCell(DiscreteEnvironment environment,
                     int[] position,
                     double size,
                     double angle)
Creates a new HexagonalCell object.

Parameters:
environment - DOCUMENT ME!
position - DOCUMENT ME!
size - DOCUMENT ME!
angle - DOCUMENT ME!
Method Detail

getSize

public double getSize()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAngle

public double getAngle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSurface

public double getSurface()
DOCUMENT ME!

Returns:
DOCUMENT ME!