@Deprecated public class BoundingBox extends Object implements Cloneable, Serializable
This class should not be used. XBoundingBox should be used instead.
| Constructor and Description |
|---|
BoundingBox()
Deprecated.
Empty Constructor.
|
BoundingBox(double x1,
double y1,
double x2,
double y2)
Deprecated.
Creates a new instance of BoundingBox.
|
BoundingBox(org.jdom.Element parent)
Deprecated.
Creates a new BoundingBox object.
|
BoundingBox(com.vividsolutions.jts.geom.Geometry geom)
Deprecated.
Creates a new BoundingBox object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deprecated.
Clone Method.
|
boolean |
equals(Object other)
Deprecated.
|
com.vividsolutions.jts.geom.Geometry |
getGeometry(int srid)
Deprecated.
Creates a geometry out of this BoundingBox by using a GeometryFactory with floating precision and the specified
SRID.
|
String |
getGeometryFromTextCompatibleString()
Deprecated.
This Method return the BoundingBox like
BOX3D(-179.99999999999997,-105.48710130136223,176.35443037974682,114.6141645214226).
|
String |
getGeometryFromTextLineString()
Deprecated.
DOCUMENT ME!
|
double |
getHeight()
Deprecated.
DOCUMENT ME!
|
org.jdom.Element |
getJDOMElement()
Deprecated.
DOCUMENT ME!
|
org.apache.log4j.Logger |
getLog()
Deprecated.
DOCUMENT ME!
|
edu.umd.cs.piccolo.util.PBounds |
getPBounds(WorldToScreenTransform wtst)
Deprecated.
DOCUMENT ME!
|
String |
getURLString()
Deprecated.
This Method return the BoundingBox like
-179.99999999999997,-105.48710130136223,176.35443037974682,114.6141645214226.
|
String |
getURLString(boolean reverseOrder)
Deprecated.
This Method return the BoundingBox like
-179.99999999999997,-105.48710130136223,176.35443037974682,114.6141645214226.
|
double |
getWidth()
Deprecated.
public Geometry getGeometry() { // GeometryFactory gf=new GeometryFactory(); // LinearRing lr=gf.c //
gf.createPolygon() }.
|
double |
getX1()
Deprecated.
Getter for property x1.
|
double |
getX2()
Deprecated.
Getter for property x2.
|
double |
getY1()
Deprecated.
Getter for property y1.
|
double |
getY2()
Deprecated.
Getter for property y2.
|
int |
hashCode()
Deprecated.
return true if the given boundingBox has the same values.
|
void |
increase(int percentage)
Deprecated.
increased the bounding box.
|
boolean |
isValid()
Deprecated.
Checks, if the bounding box is valid.
|
static String |
round(double d)
Deprecated.
Rounds a double to #.00.
|
void |
setX1(double x1)
Deprecated.
Setter for property x1.
|
void |
setX2(double x2)
Deprecated.
Setter for property x2.
|
void |
setY1(double y1)
Deprecated.
Setter for property y1.
|
void |
setY2(double y2)
Deprecated.
Setter for property y2.
|
String |
toGml4WFS110String()
Deprecated.
DOCUMENT ME!
|
String |
toGmlString()
Deprecated.
DOCUMENT ME!
|
String |
toString()
Deprecated.
This Method return the BoundingBox like (1.11,2.22,3.33,4.44).
|
public BoundingBox()
public BoundingBox(org.jdom.Element parent)
throws org.jdom.DataConversionException
parent - DOCUMENT ME!org.jdom.DataConversionException - DOCUMENT ME!public BoundingBox(com.vividsolutions.jts.geom.Geometry geom)
geom - DOCUMENT ME!public BoundingBox(double x1,
double y1,
double x2,
double y2)
x1 - x coordinate of the lower left pointy1 - y coordinate of the lower left pointx2 - x coordinate of the upper right pointy2 - y coordinate of the upper right pointpublic double getX1()
public void setX1(double x1)
x1 - New value of property x1.public double getY1()
public void setY1(double y1)
y1 - New value of property y1.public double getX2()
public void setX2(double x2)
x2 - New value of property x2.public double getY2()
public void setY2(double y2)
y2 - New value of property y2.public com.vividsolutions.jts.geom.Geometry getGeometry(int srid)
srid - SRIDpublic String toString()
public String getURLString()
public String getURLString(boolean reverseOrder)
reverseOrder - DOCUMENT ME!public String getGeometryFromTextLineString()
public String getGeometryFromTextCompatibleString()
public org.apache.log4j.Logger getLog()
public edu.umd.cs.piccolo.util.PBounds getPBounds(WorldToScreenTransform wtst)
wtst - DOCUMENT ME!public int hashCode()
public Object clone()
public static String round(double d)
d - The doublepublic org.jdom.Element getJDOMElement()
public double getWidth()
public double getHeight()
public String toGmlString()
public String toGml4WFS110String()
public void increase(int percentage)
percentage - DOCUMENT ME!public boolean isValid()
Copyright © 2012–2025 cismet GmbH. All rights reserved.