java.lang.Object
de.turnertech.ows.gml.Envelope
- All Implemented Interfaces:
GmlElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.protected DirectPositionstatic final QNameprotected DirectPositionFields 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 TypeMethodDescriptionbooleancontains(double latitude, double longitute) voidexpandToFit(Envelope other) static Envelopefrom(DirectPositionList posList) static EnvelopedoublegetEast()doublegetNorth()doublegetSouth()doublegetWest()booleanintersects(Envelope other) voidwriteGml(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, waitMethods 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:
writeGmlin interfaceGmlElement
-
getGmlName
- Specified by:
getGmlNamein interfaceGmlElement
-