|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.geometry.Geometry com.esri.gpt.framework.geometry.Envelope
public class Envelope
Basic envelope.
Field Summary | |
---|---|
static double |
EMPTY
|
Constructor Summary | |
---|---|
Envelope()
Default constructor. |
|
Envelope(double minX,
double minY,
double maxX,
double maxY)
Instantiates a new envelope. |
|
Envelope(Envelope objectToDuplicate)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
Envelope |
clone()
Clones object. |
void |
echo(StringBuffer sb)
Appends property information for the component to a StringBuffer. |
boolean |
equals(Object obj)
Checks if two objects are equal. |
double |
getCenterX()
Gets x coordinate of the center of the envelope. |
double |
getCenterY()
Gets y coordinate of the center of the envelope. |
double |
getHeight()
Gets the height. |
double |
getMaxX()
Gets the maximum x-coordinate. |
double |
getMaxY()
Gets the maximum y-coordinate. |
double |
getMinX()
Gets the minimum x-coordinate. |
double |
getMinY()
Gets the minimum y-coordinate. |
double |
getWidth()
Gets the width. |
boolean |
hasSize()
Determines if a the envelope has size. |
boolean |
isEmpty()
Determines the empty staus. |
boolean |
isValid()
Determines if the envelope is valid. |
void |
merge(Envelope envelope)
Merges this envelope with the argument envelope. |
void |
put(double minx,
double miny,
double maxx,
double maxy)
Puts coordinate values. |
void |
put(String minx,
String miny,
String maxx,
String maxy)
Puts coordinate values. |
void |
setMaxX(double d)
Sets the maximum x-coordinate. |
void |
setMaxX(String s)
Sets the maximum x-coordinate (string entry). |
void |
setMaxY(double d)
Sets the maximum y-coordinate. |
void |
setMaxY(String s)
Sets the maximum y-coordinate (string entry). |
void |
setMinX(double d)
Sets the minimum x-coordinate. |
void |
setMinX(String s)
Sets the minimum x-coordinate (string entry). |
void |
setMinY(double d)
Sets the minimum y-coordinate. |
void |
setMinY(String s)
Sets the minimum y-coordinate (string entry). |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class com.esri.gpt.framework.geometry.Geometry |
---|
getWkid, setWkid |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final double EMPTY
Constructor Detail |
---|
public Envelope()
public Envelope(double minX, double minY, double maxX, double maxY)
minX
- the minimum xminY
- the minimum ymaxX
- the maximum xmaxY
- the maximum ypublic Envelope(Envelope objectToDuplicate)
objectToDuplicate
- the object to duplicateMethod Detail |
---|
public double getHeight()
public double getMaxX()
public void setMaxX(double d)
d
- the maximum x-coordinatepublic void setMaxX(String s)
s
- the maximum x-coordinatepublic double getMaxY()
public void setMaxY(double d)
d
- the maximum y-coordinatepublic void setMaxY(String s)
s
- the maximum y-coordinatepublic double getMinX()
public void setMinX(double d)
d
- the minimum x-coordinatepublic void setMinX(String s)
s
- the minimum x-coordinatepublic double getMinY()
public void setMinY(double d)
d
- the minimum y-coordinatepublic void setMinY(String s)
s
- the minimum y-coordinatepublic double getWidth()
public double getCenterX()
public double getCenterY()
public void echo(StringBuffer sb)
echo
in class Geometry
sb
- the StringBuffer to use when appending informationpublic String toString()
Geometry
toString
in class Geometry
public boolean hasSize()
public boolean isEmpty()
public boolean isValid()
public void put(double minx, double miny, double maxx, double maxy)
minx
- minimum x-coordinateminy
- minimum y-coordinatemaxx
- maximum x-coordinatemaxy
- maximum y-coordinatepublic void put(String minx, String miny, String maxx, String maxy)
minx
- minimum x-coordinateminy
- minimum y-coordinatemaxx
- maximum x-coordinatemaxy
- maximum y-coordinatepublic Envelope clone()
clone
in class Object
Object.clone()
public boolean equals(Object obj)
equals
in class Object
obj
- Object to be tested
true
if two objects are equalpublic void merge(Envelope envelope)
envelope
- the envelope to merge with
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |