Serialized Form


Package sim.field.geo

Class sim.field.geo.GeomField extends java.lang.Object implements Serializable

serialVersionUID: 5356444334673155514L

Serialized Fields

MBR

com.vividsolutions.jts.geom.Envelope MBR
The minimum bounding rectangle (MBR) of all the stored geometries.


drawX

double drawX
Holds the origin for drawing; used to handle zooming and scrolling


drawY

double drawY
Holds the origin for drawing; used to handle zooming and scrolling


fieldWidth

int fieldWidth
The field dimensions Used for computing scale.


fieldHeight

int fieldHeight
The field dimensions Used for computing scale.

Class sim.field.geo.GeomGridField extends GeomField implements Serializable

serialVersionUID: 5804948960128647172L

Serialized Fields

grid

sim.field.grid.Grid2D grid
Grid container Allows for the user to use an arbitrary grid of integers, doubles, or objects. XXX Maybe consider Abstract2DGrid instead? But that would eliminate possibly using Sparse2DGrid.


pixelWidth

double pixelWidth
width of grid point in projection coordinate system

See Also:
GeomGridField.setGrid(), GeomGridField.setMBR()

pixelHeight

double pixelHeight
height of grid point in projection coordinate system

See Also:
GeomGridField.setGrid(), GeomGridField.setMBR()

Class sim.field.geo.GeomVectorField extends GeomField implements Serializable

serialVersionUID: -754748817928825708L

Serialized Fields

spatialIndex

com.vividsolutions.jts.index.quadtree.Quadtree spatialIndex
A spatial index of all the geometries in the field. XXX Consider also storing Bag of MasonGeometry to make rebuilding spatial index in updateSpatialIndex() a little more efficient; also would make it easier to use alternative JTS spatial index.


geometries

sim.util.Bag geometries
Redundant container of MasonGeometry used to quickly rebuild spatial index and save some overhead with regards to returning all MasonGeometry. (I.e., one doesn't have to walk through a tree to get all the objects and convert a List to a Bag.


convexHull

com.vividsolutions.jts.geom.prep.PreparedPolygon convexHull
The convex hull of all the geometries in this field


geomFactory

com.vividsolutions.jts.geom.GeometryFactory geomFactory
Helper factory for computing the union or convex hull


globalUnion

com.vividsolutions.jts.geom.prep.PreparedPolygon globalUnion
Defines the outer shell of all the geometries within this field


clipEnvelope

com.vividsolutions.jts.geom.Envelope clipEnvelope

myInfo

sim.portrayal.DrawInfo2D myInfo

worldToScreen

java.awt.geom.AffineTransform worldToScreen

jtsTransform

com.vividsolutions.jts.geom.util.AffineTransformation jtsTransform

Package sim.portrayal.geo

Class sim.portrayal.geo.GeomPortrayal extends sim.portrayal.SimplePortrayal2D implements Serializable

serialVersionUID: 472960663330467429L

Serialized Fields

paint

java.awt.Paint paint
How to paint each object


scale

double scale
Scale for each object


filled

boolean filled
Should objects be filled when painting?

Class sim.portrayal.geo.GeomVectorFieldPortrayal extends sim.portrayal.FieldPortrayal2D implements Serializable

serialVersionUID: 8409421628913847667L

Serialized Fields

defaultPortrayal

GeomPortrayal defaultPortrayal
The underlying portrayal


buffer

java.awt.image.BufferedImage buffer
Caches immutable fields.


hints

java.awt.RenderingHints hints

selectedWrappers

java.util.HashMap<K,V> selectedWrappers

Package sim.util.geo

Class sim.util.geo.AttributeValue extends java.lang.Object implements Serializable

serialVersionUID: -2342742107342686581L

Serialized Fields

value

java.lang.Object value
Attribute value


hidden

boolean hidden
Whether the attribute is displayed in the inspector or not

Class sim.util.geo.MasonGeometry extends java.lang.Object implements Serializable

serialVersionUID: 6290810736517692387L

Serialized Fields

geometry

com.vividsolutions.jts.geom.Geometry geometry
Internal JTS geometry object


attributes

java.util.Map<K,V> attributes
Optional attribute-value pairs associated with this geometry


shape

java.awt.geom.GeneralPath shape
Java2D shape corresponding to this Geometry. Used to speed up drawing.


transform

java.awt.geom.AffineTransform transform

preparedGeometry

com.vividsolutions.jts.geom.prep.PreparedGeometry preparedGeometry
A cached, optimized version of my Geometry. Used for fast intersection, union, etc. operations


isMovable

boolean isMovable
Does this MasonGeometry move? i.e., dynamically change location

Class sim.util.geo.PointMoveTo extends java.lang.Object implements Serializable

serialVersionUID: -2029180922944093196L

Serialized Fields

newValue

com.vividsolutions.jts.geom.Coordinate newValue

isDone

boolean isDone

geometryChanged

boolean geometryChanged