A C D E F G H I J M O P Q R S T U V W

A

addAttribute(String, Object) - Method in class sim.util.geo.MasonGeometry
 
addAttributes(Map<String, AttributeValue>) - Method in class sim.util.geo.MasonGeometry
 
addDoubleAttribute(String, double) - Method in class sim.util.geo.MasonGeometry
 
addGeometry(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Adds the MasonGeometry to the field and also expands the MBR
addIntegerAttribute(String, int) - Method in class sim.util.geo.MasonGeometry
 
addStringAttribute(String, String) - Method in class sim.util.geo.MasonGeometry
 
ArcInfoASCGridExporter - Class in sim.io.geo
Write a GeomGridField to an Arc/Grid formatted output stream.
ArcInfoASCGridImporter - Class in sim.io.geo
Importer for ESRI Arc/Info ASCII GRID formatted files
AttributeValue - Class in sim.util.geo
This contains the values associated with MasonGeometry attributes.
AttributeValue() - Constructor for class sim.util.geo.AttributeValue
 
AttributeValue(Object) - Constructor for class sim.util.geo.AttributeValue
 
AttributeValue(Object, boolean) - Constructor for class sim.util.geo.AttributeValue
 

C

clear() - Method in class sim.field.geo.GeomField
delete contents
clear() - Method in class sim.field.geo.GeomGridField
 
clear() - Method in class sim.field.geo.GeomVectorField
Removes all geometry objects and resets the MBR.
clipEnvelope - Variable in class sim.field.geo.GeomVectorField
 
clone() - Method in class sim.util.geo.AttributeValue
Simple, shallow clone
computeBounds(Envelope, Display2D, GeomGridField) - Static method in class sim.util.geo.GeometryUtilities
compute the MBR for the grid field in display coordinates This is used to determine the display bounds for the grid field for Display2D.attach().
computeConvexHull() - Method in class sim.field.geo.GeomVectorField
Computes the convex hull of all the geometries in this field.
computeUnion() - Method in class sim.field.geo.GeomVectorField
Compute the union of the field's geometries.
createFromGeomField(GeomVectorField) - Method in class sim.util.geo.GeomPlanarGraph
populate network with lines from a GeomVectorField

D

draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.geo.GeomPortrayal
Draw a JTS geometry object.
drawX - Variable in class sim.field.geo.GeomField
Holds the origin for drawing; used to handle zooming and scrolling
drawY - Variable in class sim.field.geo.GeomField
Holds the origin for drawing; used to handle zooming and scrolling

E

equals(Object) - Method in class sim.util.geo.AttributeValue
 
equals(Object) - Method in class sim.util.geo.MasonGeometry
 

F

fieldHeight - Variable in class sim.field.geo.GeomField
The field dimensions Used for computing scale.
fieldWidth - Variable in class sim.field.geo.GeomField
The field dimensions Used for computing scale.
filled - Variable in class sim.portrayal.geo.GeomPortrayal
Should objects be filled when painting?
filter(CoordinateSequence, int) - Method in class sim.util.geo.PointMoveTo
 
findGeometry(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Locate a specific geometry inside the quadtree

G

GDALImporter - Class in sim.io.geo
 
geometry - Variable in class sim.util.geo.MasonGeometry
Internal JTS geometry object
GeometryUtilities - Class in sim.util.geo
 
GeometryUtilities() - Constructor for class sim.util.geo.GeometryUtilities
 
GeomField - Class in sim.field.geo
Super class for GeomVectorField and GeomGridField.
GeomField() - Constructor for class sim.field.geo.GeomField
 
GeomField(int, int) - Constructor for class sim.field.geo.GeomField
 
GeomGridField - Class in sim.field.geo
A georeferenced area represented by a grid The associated GeomField.MBR defines the area the grid maps to.
GeomGridField() - Constructor for class sim.field.geo.GeomGridField
 
GeomGridField(Grid2D) - Constructor for class sim.field.geo.GeomGridField
 
GeomGridField.GridDataType - Enum in sim.field.geo
Used to determine the GeomGridField storage type.
GeomInfo2D - Class in sim.portrayal.geo
 
GeomInfo2D(DrawInfo2D, AffineTransform) - Constructor for class sim.portrayal.geo.GeomInfo2D
 
GeomPlanarGraph - Class in sim.util.geo
A JTS PlanarGraph Planar graph useful for exploiting network topology.
GeomPlanarGraph() - Constructor for class sim.util.geo.GeomPlanarGraph
 
GeomPlanarGraphDirectedEdge - Class in sim.util.geo
 
GeomPlanarGraphDirectedEdge(Node, Node, Coordinate, boolean) - Constructor for class sim.util.geo.GeomPlanarGraphDirectedEdge
 
GeomPlanarGraphEdge - Class in sim.util.geo
A planar graph edge that wraps a LineString XXX Should consider making this an internal class to GeomPlanarGraph?
GeomPlanarGraphEdge(LineString) - Constructor for class sim.util.geo.GeomPlanarGraphEdge
 
GeomPortrayal - Class in sim.portrayal.geo
The portrayal for MasonGeometry objects.
GeomPortrayal() - Constructor for class sim.portrayal.geo.GeomPortrayal
Default constructor creates filled, gray objects with a scale of 1.0
GeomPortrayal(Paint) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(double) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(Paint, double) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(Paint, boolean) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(double, boolean) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(boolean) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomPortrayal(Paint, double, boolean) - Constructor for class sim.portrayal.geo.GeomPortrayal
 
GeomVectorField - Class in sim.field.geo
A GeomVectorField contains one or more MasonGeometry objects.
GeomVectorField() - Constructor for class sim.field.geo.GeomVectorField
 
GeomVectorField(int, int) - Constructor for class sim.field.geo.GeomVectorField
Default constructor, which resets all internal data structures.
GeomVectorFieldPortrayal - Class in sim.portrayal.geo
Portrayal for MasonGeometry objects.
GeomVectorFieldPortrayal() - Constructor for class sim.portrayal.geo.GeomVectorFieldPortrayal
Default constructor
GeomVectorFieldPortrayal(boolean) - Constructor for class sim.portrayal.geo.GeomVectorFieldPortrayal
Constructor which sets the field's immutable flag
GeoToolsImporter - Class in sim.io.geo
Use the GeoTools Java API to read geospatial data into the GeomVectorField.
getArea() - Method in class sim.util.geo.MasonGeometry.GeomWrapperProxy
 
getAttribute(String) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
getAttribute(String) - Method in class sim.util.geo.MasonGeometry
 
getAttributes() - Method in class sim.util.geo.MasonGeometry
 
getContainingObjectgs(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
 
getContainingObjects(Geometry) - Method in class sim.field.geo.GeomVectorField
Returns geometries that contain the given object.
getCoveredObjects(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Return geometries that are covered by the given geometry.
getCoveringObjects(Geometry) - Method in class sim.field.geo.GeomVectorField
Returns geometries that cover the given object.
getCoveringObjects(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
 
getDefaultPortrayal() - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
Return the underlying portrayal
getDouble() - Method in class sim.util.geo.AttributeValue
 
getDoubleAttribute(String) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
getDoubleAttribute(String) - Method in class sim.util.geo.MasonGeometry
 
getFieldHeight() - Method in class sim.field.geo.GeomField
 
getFieldWidth() - Method in class sim.field.geo.GeomField
 
getGeometries() - Method in class sim.field.geo.GeomVectorField
Returns all the field's geometry objects.
getGeometry(String, Object) - Method in class sim.field.geo.GeomVectorField
Searches the field for the first object with attribute name that has value value.
getGeometry() - Method in class sim.util.geo.MasonGeometry
 
getGeometryLocation(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Get the centroid of the given Geometry.
getGrid() - Method in class sim.field.geo.GeomGridField
 
getGridDataType() - Method in class sim.field.geo.GeomGridField
 
getGridHeight() - Method in class sim.field.geo.GeomGridField
By contrast, super.getHeight() returns width in spatial reference context.
getGridWidth() - Method in class sim.field.geo.GeomGridField
Returns width of grid in pixels.
getHeight() - Method in class sim.field.geo.GeomField
Returns the height of the MBR.
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.geo.GeomPortrayal
Use our custom Inspector.
getInteger() - Method in class sim.util.geo.AttributeValue
 
getIntegerAttribute(String) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
getIntegerAttribute(String) - Method in class sim.util.geo.MasonGeometry
 
getLine() - Method in class sim.util.geo.GeomPlanarGraphEdge
 
getMBR() - Method in class sim.field.geo.GeomField
Returns the minimum bounding rectangle (MBR)
getNetwork() - Method in class sim.util.geo.GeomPlanarGraph
Create a MASON Network from this planar graph XXX Unfortunately we need this since JTS planar graphs do not support shortest distance and other common graph traversals.
getNumVertices() - Method in class sim.util.geo.MasonGeometry.GeomWrapperProxy
 
getObjectsWithinDistance(Geometry, double) - Method in class sim.field.geo.GeomVectorField
Returns a bag containing all those objects within distance of the given geometry.
getObjectsWithinDistance(MasonGeometry, double) - Method in class sim.field.geo.GeomVectorField
 
getPerimeter() - Method in class sim.util.geo.MasonGeometry.GeomWrapperProxy
 
getPixelHeight() - Method in class sim.field.geo.GeomGridField
Height of pixels in units of the underlying coordinate reference system
getPixelWidth() - Method in class sim.field.geo.GeomGridField
Width of pixels in units of the underlying coordinate reference system
getPortrayalForObject(Object) - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
Returns the appropriate Portrayal.
getPortrayalTransform(AffineTransform, GeomField, Rectangle2D.Double) - Static method in class sim.util.geo.GeometryUtilities
 
getString() - Method in class sim.util.geo.AttributeValue
 
getStringAttribute(String) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
getStringAttribute(String) - Method in class sim.util.geo.MasonGeometry
 
getTouchingObjects(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Returns geometries that touch the given geometry.
getUserData() - Method in class sim.util.geo.MasonGeometry
 
getValue() - Method in class sim.util.geo.AttributeValue
 
getWidth() - Method in class sim.field.geo.GeomField
Returns the width of the MBR.

H

hasAttribute(String) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
hasAttribute(String) - Method in class sim.util.geo.MasonGeometry
 
hasAttributes() - Method in class sim.util.geo.GeomPlanarGraphEdge
 
hasAttributes() - Method in class sim.util.geo.MasonGeometry
 
hashCode() - Method in class sim.util.geo.AttributeValue
 
hashCode() - Method in class sim.util.geo.MasonGeometry
 
hasHiddenAttributes() - Method in class sim.util.geo.MasonGeometry
XXX This might be deprecated because no longer support hidden attributes
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.geo.GeomPortrayal
Determine if the object was hit or not.
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
Handles hit-testing and drawing of the underlying geometry objects.

I

isCovered(MasonGeometry) - Method in class sim.field.geo.GeomVectorField
Returns true if the given Geometry is covered by any geometry in the field.
isCovered(Coordinate) - Method in class sim.field.geo.GeomVectorField
Returns true if the coordinate is within any geometry in the field.
isDone() - Method in class sim.util.geo.PointMoveTo
 
isGeometryChanged() - Method in class sim.util.geo.PointMoveTo
 
isHidden() - Method in class sim.util.geo.AttributeValue
 
isInGrid(int, int) - Method in class sim.field.geo.GeomGridField
 
isInsideConvexHull(Coordinate) - Method in class sim.field.geo.GeomVectorField
Determine if the Coordinate is within the convex hull of the field's geometries.
isInsideUnion(Coordinate) - Method in class sim.field.geo.GeomVectorField
Determine if the Coordinate is within the bounding Geometry of the field's geometries.
isMovable - Variable in class sim.util.geo.MasonGeometry
Does this MasonGeometry move? i.e., dynamically change location
isSupported(int) - Static method in class sim.io.geo.ShapeFileImporter
 
isWithinBounds(Envelope, GeomGridField) - Static method in class sim.util.geo.GeometryUtilities
 

J

jtsTransform - Variable in class sim.field.geo.GeomVectorField
 

M

MasonGeometry - Class in sim.util.geo
A MasonGeometry is a wrapper for a JTS geometry and an associated userData field.
MasonGeometry() - Constructor for class sim.util.geo.MasonGeometry
Default constructors
MasonGeometry(Geometry) - Constructor for class sim.util.geo.MasonGeometry
 
MasonGeometry(Geometry, Object) - Constructor for class sim.util.geo.MasonGeometry
 
MasonGeometry.GeomWrapperProxy - Class in sim.util.geo
Inner class allows us to prevent certain getXXX and setXXX methods from appearing in the Inspector
MasonGeometry.GeomWrapperProxy() - Constructor for class sim.util.geo.MasonGeometry.GeomWrapperProxy
 
MBR - Variable in class sim.field.geo.GeomField
The minimum bounding rectangle (MBR) of all the stored geometries.

O

OGRImporter - Class in sim.io.geo
OGRImportor uses the OGR JNI interface to read geospatial data into the GeomVectorField.
OGRImporter() - Constructor for class sim.io.geo.OGRImporter
 

P

paint - Variable in class sim.portrayal.geo.GeomPortrayal
How to paint each object
PointMoveTo - Class in sim.util.geo
A helper class to move a point to a new Coordinate.
PointMoveTo() - Constructor for class sim.util.geo.PointMoveTo
 
PointMoveTo(Coordinate) - Constructor for class sim.util.geo.PointMoveTo
 
preparedGeometry - Variable in class sim.util.geo.MasonGeometry
A cached, optimized version of my Geometry.
printLastError() - Static method in class sim.io.geo.GDALImporter
Ganked from GDAL/swig/java/apps/GDALtest.java
propertiesProxy() - Method in class sim.util.geo.MasonGeometry
 

Q

queryField(Envelope) - Method in class sim.field.geo.GeomVectorField
 

R

read(InputStream, GeomGridField.GridDataType, GeomGridField) - Static method in class sim.io.geo.ArcInfoASCGridImporter
Read geospatial grid data from fileName into given field Note that NODATA values are read in as is without substitution.
read(URL, GeomGridField.GridDataType, GeomGridField) - Static method in class sim.io.geo.GDALImporter
Read geospatial grid data from inputSource into field This only reads the first band of data.
read(URL, GeomVectorField, Bag) - Static method in class sim.io.geo.GeoToolsImporter
 
read(URL, GeomVectorField, Bag) - Static method in class sim.io.geo.OGRImporter
 
read(URL, GeomVectorField) - Static method in class sim.io.geo.ShapeFileImporter
Populate field from the shape file given in fileName
read(URL, GeomVectorField, Bag) - Static method in class sim.io.geo.ShapeFileImporter
Populate field from the shape file given in fileName
read(URL, GeomVectorField, Class<?>) - Static method in class sim.io.geo.ShapeFileImporter
Populate field from the shape file given in fileName
read(URL, GeomVectorField, Bag, Class<?>) - Static method in class sim.io.geo.ShapeFileImporter
Populate field from the shape file given in fileName
readAttributes(SimpleFeature, Bag) - Static method in class sim.io.geo.GeoToolsImporter
 
readAttributes(Feature, Bag) - Static method in class sim.io.geo.OGRImporter
 

S

scale - Variable in class sim.portrayal.geo.GeomPortrayal
Scale for each object
scheduleSpatialIndexUpdater() - Method in class sim.field.geo.GeomVectorField
Schedules a repeating Steppable that updates spatial index
screenToWorldPointTransform(AffineTransform, double, double) - Static method in class sim.util.geo.GeometryUtilities
Uses the worldToScreen transform to transform the point (x,y) in screen coordinates to world coordinates.
setAttributes(Map<String, AttributeValue>) - Method in class sim.util.geo.GeomPlanarGraphEdge
 
setCoordinate(Coordinate) - Method in class sim.util.geo.PointMoveTo
 
setDouble(double) - Method in class sim.util.geo.AttributeValue
 
setField(Object) - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
Sets the underlying field, after ensuring its a GeomVectorField.
setFieldHeight(int) - Method in class sim.field.geo.GeomField
 
setFieldWidth(int) - Method in class sim.field.geo.GeomField
 
setGeometryLocation(MasonGeometry, CoordinateSequenceFilter) - Method in class sim.field.geo.GeomVectorField
Moves the centroid of the given geometry to the provided point.
setGrid(Grid2D) - Method in class sim.field.geo.GeomGridField
 
setHidden(boolean) - Method in class sim.util.geo.AttributeValue
 
setInteger(int) - Method in class sim.util.geo.AttributeValue
 
setMBR(Envelope) - Method in class sim.field.geo.GeomField
Set the MBR
setMBR(Envelope) - Method in class sim.field.geo.GeomGridField
 
setPixelHeight(double) - Method in class sim.field.geo.GeomGridField
Set heigh of pixels in units of the underlying coordinate reference system
setPixelWidth(double) - Method in class sim.field.geo.GeomGridField
Set pixel width in units of underlying coordinate reference system
setPortrayalForNull(Portrayal) - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
Throws an exception.
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.geo.GeomVectorFieldPortrayal
 
setString(String) - Method in class sim.util.geo.AttributeValue
 
setUserData(Object) - Method in class sim.util.geo.MasonGeometry
Set the userData field with an arbitrary object
setValue(Object) - Method in class sim.util.geo.AttributeValue
 
shape - Variable in class sim.util.geo.MasonGeometry
Java2D shape corresponding to this Geometry.
ShapeFileExporter - Class in sim.io.geo
Writes a GeomVectorField to a Shape file.
ShapeFileExporter() - Constructor for class sim.io.geo.ShapeFileExporter
 
ShapeFileImporter - Class in sim.io.geo
A native Java importer to read ERSI shapefile data into the GeomVectorField.
sim.field.geo - package sim.field.geo
 
sim.io.geo - package sim.io.geo
 
sim.portrayal.geo - package sim.portrayal.geo
 
sim.util.geo - package sim.util.geo
 

T

toPoint(int, int) - Method in class sim.field.geo.GeomGridField
Return a Point corresponding to center of grid cell
toPolygon(int, int) - Method in class sim.field.geo.GeomGridField
Return a Polygon corresponding to the grid cell perimeter
toString() - Method in class sim.util.geo.AttributeValue
Human readable form
toString() - Method in class sim.util.geo.MasonGeometry
 
toXCoord(Point) - Method in class sim.field.geo.GeomGridField
 
toXCoord(double) - Method in class sim.field.geo.GeomGridField
 
toYCoord(Point) - Method in class sim.field.geo.GeomGridField
 
toYCoord(double) - Method in class sim.field.geo.GeomGridField
 
transform - Variable in class sim.portrayal.geo.GeomInfo2D
 
transform - Variable in class sim.util.geo.MasonGeometry
 

U

updateSpatialIndex() - Method in class sim.field.geo.GeomVectorField
Rebuild the spatial index from the current set of geometry
updateTransform(DrawInfo2D) - Method in class sim.field.geo.GeomVectorField
 
updateTree(Geometry, AffineTransformation) - Method in class sim.field.geo.GeomVectorField
 

V

valueOf(String) - Static method in enum sim.field.geo.GeomGridField.GridDataType
Returns the enum constant of this type with the specified name.
values() - Static method in enum sim.field.geo.GeomGridField.GridDataType
Returns an array containing the constants of this enum type, in the order they are declared.

W

worldToScreen - Variable in class sim.field.geo.GeomVectorField
 
worldToScreenTransform(Envelope, Rectangle2D.Double) - Static method in class sim.util.geo.GeometryUtilities
Determines the affine transform which converts world coordinates into screen coordinates.
worldToScreenTransform(Envelope, DrawInfo2D) - Static method in class sim.util.geo.GeometryUtilities
Determines the affine transform which converts world coordinates into screen coordinates.
write(GeomGridField, int, Writer) - Static method in class sim.io.geo.ArcInfoASCGridExporter
Write out the given grid field to output stream
write(GeomGridField, Writer) - Static method in class sim.io.geo.ArcInfoASCGridExporter
Like write() with default NODATA value of -9999.
write(String, GeomVectorField) - Static method in class sim.io.geo.ShapeFileExporter
Write the given vector field to a shape file.

A C D E F G H I J M O P Q R S T U V W