java.lang.Object
de.turnertech.ows.gml.Envelope
- All Implemented Interfaces:
GmlElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.protected DirectPosition
static final QName
protected DirectPosition
Fields inherited from interface de.turnertech.ows.gml.GmlElement
NAMESPACE
-
Constructor Summary
ConstructorsConstructorDescriptionEnvelope()
Envelope
(double south, double west, double north, double east) Envelope
(DirectPosition lowerCorner, DirectPosition upperCorner) -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double latitude, double longitute) void
expandToFit
(Envelope other) static Envelope
from
(DirectPositionList posList) static Envelope
double
getEast()
double
getNorth()
double
getSouth()
double
getWest()
boolean
intersects
(Envelope other) void
writeGml
(XMLStreamWriter out, String localName, String namespaceURI, SpatialReferenceSystemRepresentation srsRepresentation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.turnertech.ows.gml.GmlElement
toGml, toGml, writeGml, writeGmlStartElement
-
Field Details
-
GML_NAME
Deprecated.- See Also:
-
QNAME
-
upperCorner
-
lowerCorner
-
-
Constructor Details
-
Envelope
public Envelope() -
Envelope
public Envelope(double south, double west, double north, double east) -
Envelope
-
-
Method Details
-
contains
public boolean contains(double latitude, double longitute) -
intersects
-
from
-
from
-
expandToFit
-
getSouth
public double getSouth()- Returns:
- the south
-
getWest
public double getWest()- Returns:
- the west
-
getNorth
public double getNorth()- Returns:
- the north
-
getEast
public double getEast()- Returns:
- the east
-
writeGml
public void writeGml(XMLStreamWriter out, String localName, String namespaceURI, SpatialReferenceSystemRepresentation srsRepresentation) - Specified by:
writeGml
in interfaceGmlElement
-
getGmlName
- Specified by:
getGmlName
in interfaceGmlElement
-