anl.repast.gis
Class DefaultGeotoolsAgent
java.lang.Object
anl.repast.gis.DefaultGeotoolsAgent
- All Implemented Interfaces:
- GeotoolsAgent, GisAgent
public class DefaultGeotoolsAgent
- extends java.lang.Object
- implements GeotoolsAgent
- Author:
- Robert Najlis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGeotoolsAgent
public DefaultGeotoolsAgent()
getThe_geom
public com.vividsolutions.jts.geom.Geometry getThe_geom()
- Specified by:
getThe_geom in interface GeotoolsAgent
setThe_geom
public void setThe_geom(com.vividsolutions.jts.geom.Geometry geom)
- Specified by:
setThe_geom in interface GeotoolsAgent
getGisAgentIndex
public int getGisAgentIndex()
- Specified by:
getGisAgentIndex in interface GisAgent
setGisAgentIndex
public void setGisAgentIndex(int index)
- Specified by:
setGisAgentIndex in interface GisAgent
gisPropertyList
public java.lang.String[] gisPropertyList()
- Description copied from interface:
GisAgent
- This list is expected to consist of pairs of Strings. the first is the name to be displayed, the second is the
function to be called to get the value
the gisPropertyList is used for displaying agent in OpenMap and for the writeAgentsNoShp function
- Specified by:
gisPropertyList in interface GisAgent
- Returns:
setNeighbors
public void setNeighbors(int[] neighbors)
- Specified by:
setNeighbors in interface GisAgent
getNeighbors
public int[] getNeighbors()
- Specified by:
getNeighbors in interface GisAgent
main
public static void main(java.lang.String[] args)