|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sim.field.geo.GeomField
public abstract class GeomField
Super class for GeomVectorField and GeomGridField.
Field Summary | |
---|---|
double |
drawX
Holds the origin for drawing; used to handle zooming and scrolling |
double |
drawY
Holds the origin for drawing; used to handle zooming and scrolling |
int |
fieldHeight
The field dimensions Used for computing scale. |
int |
fieldWidth
The field dimensions Used for computing scale. |
com.vividsolutions.jts.geom.Envelope |
MBR
The minimum bounding rectangle (MBR) of all the stored geometries. |
Constructor Summary | |
---|---|
GeomField()
|
|
GeomField(int w,
int h)
|
Method Summary | |
---|---|
void |
clear()
delete contents |
int |
getFieldHeight()
|
int |
getFieldWidth()
|
double |
getHeight()
Returns the height of the MBR. |
com.vividsolutions.jts.geom.Envelope |
getMBR()
Returns the minimum bounding rectangle (MBR) |
double |
getWidth()
Returns the width of the MBR. |
void |
setFieldHeight(int fh)
|
void |
setFieldWidth(int fw)
|
void |
setMBR(com.vividsolutions.jts.geom.Envelope MBR)
Set the MBR |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public com.vividsolutions.jts.geom.Envelope MBR
public double drawX
public double drawY
public int fieldWidth
public int fieldHeight
Constructor Detail |
---|
public GeomField()
public GeomField(int w, int h)
Method Detail |
---|
public int getFieldWidth()
public int getFieldHeight()
public void setFieldWidth(int fw)
public void setFieldHeight(int fh)
public void clear()
public double getWidth()
public double getHeight()
public final com.vividsolutions.jts.geom.Envelope getMBR()
public void setMBR(com.vividsolutions.jts.geom.Envelope MBR)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |